summaryrefslogtreecommitdiffstats
path: root/plugins/plugin_examples/sample2Plugin.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-05-12 11:51:11 +0200
committerJoel Andres Granados <jgranado@redhat.com>2008-05-12 11:51:11 +0200
commit59389f43868acb4511263b221190f22087252863 (patch)
treef47ed556feacaf28ce2ffe625814c98b2e2905cb /plugins/plugin_examples/sample2Plugin.py
parent27cb269e0f7d360de373785789c7eea55e828ad1 (diff)
downloadfirstaidkit-59389f43868acb4511263b221190f22087252863.tar.gz
firstaidkit-59389f43868acb4511263b221190f22087252863.tar.xz
firstaidkit-59389f43868acb4511263b221190f22087252863.zip
Change the detected name to checked.
The new variable name better expresses the objective of the issue state. This will help avoid confusion for the plugin developer.
Diffstat (limited to 'plugins/plugin_examples/sample2Plugin.py')
-rw-r--r--plugins/plugin_examples/sample2Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugin_examples/sample2Plugin.py b/plugins/plugin_examples/sample2Plugin.py
index aab679c..cbc82e2 100644
--- a/plugins/plugin_examples/sample2Plugin.py
+++ b/plugins/plugin_examples/sample2Plugin.py
@@ -59,7 +59,7 @@ class Sample2Plugin(Plugin):
self._result=ReturnSuccess
def diagnose(self):
- self._issue.set(detected = True, happened = True, reporting = self._reporting, origin = self, level = PLUGIN)
+ self._issue.set(checked = True, happened = True, reporting = self._reporting, origin = self, level = PLUGIN)
self._result=ReturnFailure
def fix(self):