Indentation and arbitrary sysctls.
[nodemanager.git] / sm.py
diff --git a/sm.py b/sm.py
index 3dfed2f..45644d8 100644 (file)
--- a/sm.py
+++ b/sm.py
@@ -128,9 +128,9 @@ def GetSlivers(data, fullupdate=True):
             rspec[resname] = amt
 
         # add in sysctl attributes into the rspec
-       for key in attr_dict.keys():
-           if key.find("sysctl.") == 0:
-               rspec[key] = attr_dict[key]
+        for key in attr_dict.keys():
+            if key.find("sysctl.") == 0:
+                rspec[key] = attr_dict[key]
 
         database.db.deliver_record(rec)
     if fullupdate: database.db.set_min_timestamp(data['timestamp'])