summaryrefslogtreecommitdiffstats
path: root/plugins/xserver.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-06-03 15:53:03 +0200
committerJoel Andres Granados <jgranado@redhat.com>2008-06-03 15:53:03 +0200
commit265f9d8078b4e3f6f85887acf33760e5691b504f (patch)
treef0ced7655d4f1c7923d783a961aab76f60dd3f53 /plugins/xserver.py
parent07aec7d14ac4d0784f12f47e63f4da1f66c493d1 (diff)
downloadfirstaidkit-265f9d8078b4e3f6f85887acf33760e5691b504f.tar.gz
firstaidkit-265f9d8078b4e3f6f85887acf33760e5691b504f.tar.xz
firstaidkit-265f9d8078b4e3f6f85887acf33760e5691b504f.zip
initialize the flow variable in xserver plugin in the correct way.
Diffstat (limited to 'plugins/xserver.py')
-rw-r--r--plugins/xserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xserver.py b/plugins/xserver.py
index 5581ccd..644addc 100644
--- a/plugins/xserver.py
+++ b/plugins/xserver.py
@@ -34,7 +34,7 @@ import shutil
class Xserver(Plugin):
""" Plugin to detect an rescue faulty xserver configurations. """
- flows = {}
+ flows = Flow.init(Plugin)
flows["force"] = Flow({
Plugin.initial: {Return: "prepare"},
"prepare" : {ReturnSuccess: "diagnose2"},