summaryrefslogtreecommitdiffstats
path: root/plugins/sample2Plugin.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2008-01-02 14:59:28 +0100
committerMartin Sivak <msivak@redhat.com>2008-01-02 15:00:17 +0100
commit03d19f937f93df69c45175274acb6e7f75207ec0 (patch)
tree7455e79cf49b365d949e5d96d00c89f61964a83a /plugins/sample2Plugin.py
parent30a7375d0f448d84cdcbfd15a630ad044f29e772 (diff)
downloadfirstaidkit-03d19f937f93df69c45175274acb6e7f75207ec0.tar.gz
firstaidkit-03d19f937f93df69c45175274acb6e7f75207ec0.tar.xz
firstaidkit-03d19f937f93df69c45175274acb6e7f75207ec0.zip
Change the flows magic a little (unify the defflows and flows variable)
Diffstat (limited to 'plugins/sample2Plugin.py')
-rw-r--r--plugins/sample2Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sample2Plugin.py b/plugins/sample2Plugin.py
index 362e02c..2e56c59 100644
--- a/plugins/sample2Plugin.py
+++ b/plugins/sample2Plugin.py
@@ -23,7 +23,7 @@ class Sample2Plugin(Plugin):
#
# Additional flow defprepareion.
#
- flows = {}
+ flows = Flow.init(Plugin)
flows["extra"] = Flow({
Plugin.initial: {ReturnValue: "prepare"},
"prepare" : {ReturnValueTrue: "diagnose"},