Fix indentation.
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Fri, 7 Dec 2007 23:35:14 +0000 (23:35 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Fri, 7 Dec 2007 23:35:14 +0000 (23:35 +0000)
source/steps/WriteNetworkConfig.py

index 8868fe6..f7a1262 100644 (file)
@@ -200,16 +200,16 @@ def Run( vars, log ):
                 interfaces["eth%d" % ifnum] = int
 
     for (dev, int) in interfaces.iteritems():
-            path = "%s/etc/sysconfig/network-scripts/ifcfg-%s" % (
-                   SYSIMG_PATH, dev)
-            f = file(path, "w")
-            log.write("Writing %s\n" % path.replace(SYSIMG_PATH, ""))
-
-            f.write("DEVICE=%s\n" % dev)
-            f.write("ONBOOT=yes\n")
-            f.write("USERCTL=no\n")
-            for (key, val) in int.iteritems():
-                f.write('%s="%s"\n' % (key, val))
-
-            f.close()
+        path = "%s/etc/sysconfig/network-scripts/ifcfg-%s" % (
+               SYSIMG_PATH, dev)
+        f = file(path, "w")
+        log.write("Writing %s\n" % path.replace(SYSIMG_PATH, ""))
+
+        f.write("DEVICE=%s\n" % dev)
+        f.write("ONBOOT=yes\n")
+        f.write("USERCTL=no\n")
+        for (key, val) in int.iteritems():
+            f.write('%s="%s"\n' % (key, val))
+
+        f.close()