Fix some indendation issues
authorIustin Pop <iustin@google.com>
Mon, 4 Feb 2008 14:34:33 +0000 (14:34 +0000)
committerIustin Pop <iustin@google.com>
Mon, 4 Feb 2008 14:34:33 +0000 (14:34 +0000)
Reviewed-by: imsnah

lib/cmdlib.py

index 97a8f51..b45a83b 100644 (file)
@@ -947,7 +947,7 @@ class LUVerifyDisks(NoHooksLU):
         inst = nv_dict.pop((node, lv_name), None)
         if (not lv_online and inst is not None
             and inst.name not in res_instances):
-            res_instances.append(inst.name)
+          res_instances.append(inst.name)
 
     # any leftover items in nv_dict are missing LVs, let's arrange the
     # data better
@@ -3060,8 +3060,8 @@ class LUCreateInstance(LogicalUnit):
     # boot order verification
     if self.op.hvm_boot_order is not None:
       if len(self.op.hvm_boot_order.strip("acdn")) != 0:
-             raise errors.OpPrereqError("invalid boot order specified,"
-                                        " must be one or more of [acdn]")
+        raise errors.OpPrereqError("invalid boot order specified,"
+                                   " must be one or more of [acdn]")
 
     if self.op.start:
       self.instance_status = 'up'