Fix tabs vs. spaces.
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Wed, 12 Nov 2008 22:13:12 +0000 (22:13 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Wed, 12 Nov 2008 22:13:12 +0000 (22:13 +0000)
db-config

index 08fe66e..6438e78 100755 (executable)
--- a/db-config
+++ b/db-config
@@ -664,7 +664,7 @@ def main():
          'expires': 0x7fffffff - (60 * 60 * 24),
          'attributes': [('system', "1"),
                         ('vref', "planetflow"),
-                                               ('vsys', "pfmount")]},
+                        ('vsys', "pfmount")]},
           # Sirius
         {'name': plc['slice_prefix'] + "_sirius",
          'description': 'The Sirius Calendar Service.\n\nSirius provides system-wide reservations of 25% CPU and 2Mb/s outgoing\nbandwidth.  Sign up for hour-long slots using the Web GUI at the\nPlanetLab website.\n\nThis slice should not generate traffic external to PlanetLab.\n',
@@ -1078,25 +1078,24 @@ message, please reply so that we may investigate the problem.
             for ptype in protocol_types:
                 AddPCUProtocolType(id, ptype)
 
-       default_boot_states = [
-               'boot',
-               'failboot',
-               'safeboot',
-               'install',
-               'reinstall',
-               'disabled',
-       ]
-
-       current_boot_states = GetBootStates()
-       for state in default_boot_states:
-               if state not in current_boot_states:
-                       AddBootState(state)
-
-       # TODO: Delete old boot states. 
-       # NOTE: Only do this if all federating peers have the new default boot states above.
-       #for state in current_boot_states:
-       #       if state not in default_boot_states:
-       #               DeleteBootState(state)
+    default_boot_states = [
+        'boot',
+        'failboot',
+        'safeboot',
+        'install',
+        'reinstall',
+        'disabled',
+    ]
+    current_boot_states = GetBootStates()
+    for state in default_boot_states:
+        if state not in current_boot_states:
+            AddBootState(state)
+
+    # TODO: Delete old boot states. 
+    # NOTE: Only do this if all federating peers have the new default boot states above.
+    #for state in current_boot_states:
+    #    if state not in default_boot_states:
+    #        DeleteBootState(state)
 
 
 if __name__ == '__main__':