diff options
author | Martin Sivak <msivak@redhat.com> | 2009-07-14 16:26:17 +0200 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2009-07-14 16:26:17 +0200 |
commit | c87d413a14e96c5415fce008a5a3d2a94256326f (patch) | |
tree | 361851905781c5d1b3092dcbe325e8ec6c3d68f0 /pyfirstaidkit/interpret.py | |
parent | 0e0478425e97493c5ea355d7268f58651bf6ad9b (diff) | |
download | firstaidkit-c87d413a14e96c5415fce008a5a3d2a94256326f.tar.gz firstaidkit-c87d413a14e96c5415fce008a5a3d2a94256326f.tar.xz firstaidkit-c87d413a14e96c5415fce008a5a3d2a94256326f.zip |
Make END message more generic, so the plugins can use it to signal the end of answer
Diffstat (limited to 'pyfirstaidkit/interpret.py')
-rw-r--r-- | pyfirstaidkit/interpret.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyfirstaidkit/interpret.py b/pyfirstaidkit/interpret.py index 67cc9dc..09e1641 100644 --- a/pyfirstaidkit/interpret.py +++ b/pyfirstaidkit/interpret.py @@ -18,7 +18,7 @@ import os import sys from plugins import PluginSystem -from reporting import Reports, TASKER, PLUGINSYSTEM +from reporting import Reports, TASKER, PLUGINSYSTEM, FIRSTAIDKIT import logging import copy from errors import * @@ -80,7 +80,7 @@ class Tasker: def end(self): """Signalize end of operations to all necessary places""" - self._reporting.end() + self._reporting.end(level = FIRSTAIDKIT) def run(self): self._reporting.start(level = TASKER, origin = self) |