summaryrefslogtreecommitdiffstats
path: root/plugins/sample1Plugin.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2007-11-22 15:11:43 +0100
committerJoel Andres Granados <jgranado@redhat.com>2007-11-22 15:11:43 +0100
commit9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211 (patch)
tree8ca389e60ff2d894bad023454430268ce259c376 /plugins/sample1Plugin.py
parent83d9690c02e9189ec8ceddc92b2c400f0b1521cb (diff)
downloadfirstaidkit-9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211.tar.gz
firstaidkit-9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211.tar.xz
firstaidkit-9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211.zip
Change all references from init to prepare.
Change all references from purge to clean. Log a warning when abstract functions are not used.
Diffstat (limited to 'plugins/sample1Plugin.py')
-rw-r--r--plugins/sample1Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sample1Plugin.py b/plugins/sample1Plugin.py
index 2a059c9..223dd4a 100644
--- a/plugins/sample1Plugin.py
+++ b/plugins/sample1Plugin.py
@@ -22,7 +22,7 @@ class Sample1Plugin(Plugin):
"""This plugin uses the predefined flow in the Plugin abstract class."""
def __init__(self):
Plugin.__init__(self)
- def init(self):
+ def prepare(self):
self._result=ReturnValueTrue
return self._result