Fix indentation error
authorGuido Trotter <ultrotter@google.com>
Wed, 21 Apr 2010 16:41:30 +0000 (17:41 +0100)
committerGuido Trotter <ultrotter@google.com>
Wed, 21 Apr 2010 17:01:57 +0000 (18:01 +0100)
Commit 9cf4321fc39ec36359d9c90b22b36d33b6adc2f4 indented some lines by
4 spaces rather than 2, and was git-amed without noticing. Fixing.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/hypervisor/hv_kvm.py

index 589c08a..b311a8d 100644 (file)
@@ -425,9 +425,9 @@ class KVMHypervisor(hv_base.BaseHypervisor):
       if boot_disk:
         kvm_cmd.extend(['-boot', 'c'])
         if disk_type != constants.HT_DISK_IDE:
-            boot_val = ',boot=on'
+          boot_val = ',boot=on'
         else:
-            boot_val = ''
+          boot_val = ''
         # We only boot from the first disk
         boot_disk = False
       else:
@@ -443,7 +443,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
       if boot_cdrom:
         kvm_cmd.extend(['-boot', 'd'])
         if disk_type != constants.HT_DISK_IDE:
-            options = '%s,boot=on' % options
+          options = '%s,boot=on' % options
       else:
         if disk_type == constants.HT_DISK_PARAVIRTUAL:
           if_val = ',if=virtio'