diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-07-11 16:40:04 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-07-14 11:33:13 +0200 |
commit | fdf629196062319bba60fa13c606ed4ba80a41ff (patch) | |
tree | 696d0fc36119b954a0d82bc1f20e665e765b7a2a /testsuite/initialization/pluginInfo.py | |
parent | c5c3e6cae831bd2d88358bcb1df63f6bab3c66e6 (diff) | |
download | firstaidkit-fdf629196062319bba60fa13c606ed4ba80a41ff.tar.gz firstaidkit-fdf629196062319bba60fa13c606ed4ba80a41ff.tar.xz firstaidkit-fdf629196062319bba60fa13c606ed4ba80a41ff.zip |
Fix the format of the firstaidkit file.
- Indendtation should be 4 spaces. There was a function indented with
8 spaces.
- Lines should be shorted than 80 chars. It just looks pretty :)
Think of terminals whith only 80 char of length. Think of debuging
in rescue mode.
- Change also the print statements. Just getting ready for python 3000.
- Get some spaces between elifs
- There should not be any lines ending in spaces.
- This can all be read in the python code conventions
http://www.python.org/dev/peps/pep-0008/
Diffstat (limited to 'testsuite/initialization/pluginInfo.py')
-rw-r--r-- | testsuite/initialization/pluginInfo.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/initialization/pluginInfo.py b/testsuite/initialization/pluginInfo.py index 8b2d80f..1b29a4f 100644 --- a/testsuite/initialization/pluginInfo.py +++ b/testsuite/initialization/pluginInfo.py @@ -24,11 +24,11 @@ class PluginInfo(Plugin): author = "John Galt" flows={} flows["newflow"] = Flow({ - Plugin.initial: {Return: "prepare"}, - "prepare" : {ReturnSuccess: "fix"}, - "fix" : {ReturnSuccess: "clean", ReturnFailure: "clean"}, - "clean" : {ReturnSuccess: Plugin.final} - }, description="This is the newflow") + Plugin.initial: {Return: "prepare"}, + "prepare" : {ReturnSuccess: "fix"}, + "fix" : {ReturnSuccess: "clean", ReturnFailure: "clean"}, + "clean" : {ReturnSuccess: Plugin.final} + }, description="This is the newflow") def __init__(self, *args, **kwargs): Plugin.__init__(self, *args, **kwargs) |