From 59389f43868acb4511263b221190f22087252863 Mon Sep 17 00:00:00 2001 From: Joel Andres Granados Date: Mon, 12 May 2008 11:51:11 +0200 Subject: 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. --- plugins/plugin_examples/sample3Plugin/sample3Plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/plugin_examples/sample3Plugin/sample3Plugin.py') diff --git a/plugins/plugin_examples/sample3Plugin/sample3Plugin.py b/plugins/plugin_examples/sample3Plugin/sample3Plugin.py index d3a3f21..a6c4183 100644 --- a/plugins/plugin_examples/sample3Plugin/sample3Plugin.py +++ b/plugins/plugin_examples/sample3Plugin/sample3Plugin.py @@ -34,7 +34,7 @@ class Sample3Plugin(Plugin): def prepare(self): # Prepare command line. - self._issue.set(detected = False, reporting = self._reporting, origin = self, level = PLUGIN) + self._issue.set(checked = False, reporting = self._reporting, origin = self, level = PLUGIN) prepare = [self._path + "/plugin", "--task", "prepare"] proc = subprocess.Popen(prepare, stdout=subprocess.PIPE) (out, err) = proc.communicate() @@ -83,7 +83,7 @@ class Sample3Plugin(Plugin): self._result=ReturnFailure elif out[-4:] == "true": self._result=ReturnSuccess - self._issue.set(detected = True, happened = (self._result==ReturnFailure), reporting = self._reporting, origin = self, level = PLUGIN) + self._issue.set(checked = True, happened = (self._result==ReturnFailure), reporting = self._reporting, origin = self, level = PLUGIN) def fix(self): fix = [self._path+"/plugin", "--task", "fix"] -- cgit