diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-05-12 11:51:11 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-05-12 11:51:11 +0200 |
commit | 59389f43868acb4511263b221190f22087252863 (patch) | |
tree | f47ed556feacaf28ce2ffe625814c98b2e2905cb /plugins/plugin_examples/sample1Plugin.py | |
parent | 27cb269e0f7d360de373785789c7eea55e828ad1 (diff) | |
download | firstaidkit-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/sample1Plugin.py')
-rw-r--r-- | plugins/plugin_examples/sample1Plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugin_examples/sample1Plugin.py b/plugins/plugin_examples/sample1Plugin.py index 560f69d..69107c4 100644 --- a/plugins/plugin_examples/sample1Plugin.py +++ b/plugins/plugin_examples/sample1Plugin.py @@ -44,7 +44,7 @@ class Sample1Plugin(Plugin): def diagnose(self): self._result=ReturnSuccess - self._issue.set(detected = True, happened = False, reporting = self._reporting, origin = self, level = PLUGIN) + self._issue.set(checked = True, happened = False, reporting = self._reporting, origin = self, level = PLUGIN) self._reporting.info("Sample1Plugin in diagnose task", origin = self, level = PLUGIN) def fix(self): |