From cb8ce9563d58ea6619fe5c5b7a0baf4e4abeb611 Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Wed, 2 Jan 2008 12:27:29 +0100 Subject: Rename destroy action to clean to honor the current plugin API --- plugins/sample1Plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/sample1Plugin.py') 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 -- cgit