summaryrefslogtreecommitdiffstats
path: root/plugins/sample1Plugin.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2007-12-19 13:28:18 +0100
committerMartin Sivak <msivak@redhat.com>2007-12-19 13:28:18 +0100
commita9d245e9ddf98c84825ee5accfffa43a23575c16 (patch)
tree61c67a63d0e0e4b98f376188b2622b35ffd51823 /plugins/sample1Plugin.py
parent9ab7cc7593030654a67f992ee7775243741baa58 (diff)
downloadfirstaidkit-a9d245e9ddf98c84825ee5accfffa43a23575c16.tar.gz
firstaidkit-a9d245e9ddf98c84825ee5accfffa43a23575c16.tar.xz
firstaidkit-a9d245e9ddf98c84825ee5accfffa43a23575c16.zip
- Make simple reporting thread in main
- Update reporting to support End-Of-Operations message - Update main and interpret to send the End-Of-Operations message - Subclass dict in plugins as Flow and add support for description - Update example plugins to use Flow instead of pure dictionary
Diffstat (limited to 'plugins/sample1Plugin.py')
-rw-r--r--plugins/sample1Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sample1Plugin.py b/plugins/sample1Plugin.py
index 085261e..2c4ff52 100644
--- a/plugins/sample1Plugin.py
+++ b/plugins/sample1Plugin.py
@@ -15,7 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-from tasker.plugins import Plugin
+from tasker.plugins import Plugin,Flow
from tasker.returns import *
class Sample1Plugin(Plugin):