diff options
| author | Martin Sivak <msivak@redhat.com> | 2008-01-02 12:27:29 +0100 |
|---|---|---|
| committer | Martin Sivak <msivak@redhat.com> | 2008-01-02 12:27:29 +0100 |
| commit | cb8ce9563d58ea6619fe5c5b7a0baf4e4abeb611 (patch) | |
| tree | d88b26f1f9dddf9e31367335a8ddd3149b5dd17c /plugins | |
| parent | f2b23461dfd642b203bb4f02d01b9938e8b2f804 (diff) | |
| download | firstaidkit-cb8ce9563d58ea6619fe5c5b7a0baf4e4abeb611.tar.gz firstaidkit-cb8ce9563d58ea6619fe5c5b7a0baf4e4abeb611.tar.xz firstaidkit-cb8ce9563d58ea6619fe5c5b7a0baf4e4abeb611.zip | |
Rename destroy action to clean to honor the current plugin API
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/sample1Plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sample1Plugin.py b/plugins/sample1Plugin.py index 2c4ff52..643a41e 100644 --- a/plugins/sample1Plugin.py +++ b/plugins/sample1Plugin.py @@ -29,9 +29,6 @@ class Sample1Plugin(Plugin): def prepare(self): self._result=ReturnValueTrue - def destroy(self): - self._result=ReturnValueTrue - def backup(self): self._result=ReturnValueTrue @@ -44,6 +41,9 @@ class Sample1Plugin(Plugin): def fix(self): self._result=ReturnValueFalse + def clean(self): + self._result=ReturnValueTrue + def get_plugin(): return Sample1Plugin |
