summaryrefslogtreecommitdiffstats
path: root/modules/hardware.py
diff options
context:
space:
mode:
authorJames Bowes <jbowes@redhat.com>2007-09-29 14:08:37 -0400
committerJames Bowes <jbowes@redhat.com>2007-09-29 14:08:37 -0400
commite153b175bff255b9af212f6d969cb75503ab2f14 (patch)
treeaf340f21b7eefcbd59662680410c8c736caba3a3 /modules/hardware.py
parent99069f42f71f00cd0b44b59e6627657409569b6b (diff)
downloadfunc-e153b175bff255b9af212f6d969cb75503ab2f14.tar.gz
func-e153b175bff255b9af212f6d969cb75503ab2f14.tar.xz
func-e153b175bff255b9af212f6d969cb75503ab2f14.zip
Fix bad indentation in minion, modules and overlord
Diffstat (limited to 'modules/hardware.py')
-rwxr-xr-xmodules/hardware.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/hardware.py b/modules/hardware.py
index 50dd705..e2455d1 100755
--- a/modules/hardware.py
+++ b/modules/hardware.py
@@ -50,13 +50,13 @@ class HardwareModule(func_module.FuncModule):
label = data[0]
for d in data:
if d == '':
- results[label] = current
- current = ""
- label = ""
+ results[label] = current
+ current = ""
+ label = ""
else:
- if label == "":
- label = d
- current = current + d
+ if label == "":
+ label = d
+ current = current + d
return results