aboutsummaryrefslogtreecommitdiffstats
path: root/src/example_plugins/release.py
diff options
context:
space:
mode:
authorjwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-07-22 19:49:23 +0000
committerjwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-07-22 19:49:23 +0000
commit358e5ba36c8b17745d96790cb125eb2160817387 (patch)
tree0fc1c737600909aabd783e337c33eb2ac80af607 /src/example_plugins/release.py
parentabfe72dbf66581eee17ef1cab556a4d234166068 (diff)
downloadsos-358e5ba36c8b17745d96790cb125eb2160817387.tar.gz
Merging jwb-dev branch to trunk
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@36 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/example_plugins/release.py')
-rw-r--r--src/example_plugins/release.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example_plugins/release.py b/src/example_plugins/release.py
index 5df7ada1..db4d7581 100644
--- a/src/example_plugins/release.py
+++ b/src/example_plugins/release.py
@@ -16,6 +16,6 @@ import sos.plugintools
# Class name must be the same as file name and method names must not change
class release(sos.plugintools.PluginBase):
- def collect(self):
- self.copyFileOrDir("/etc/redhat-release")
+ def setup(self):
+ self.addCopySpec("/etc/redhat-release")
return