From 3891c95eaf89140f41429204547560e8d47c36fe Mon Sep 17 00:00:00 2001 From: Bernardo Dal Seno <bdalseno@google.com> Date: Fri, 29 Jun 2012 16:22:03 +0200 Subject: [PATCH] Fixed spaces/indentation according to guide lines Problem introduced by commit 87f0aa4896ac4dfacc9d20bc55b0855282b4d1d4. Signed-off-by: Bernardo Dal Seno <bdalseno@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/hypervisor/hv_xen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/hypervisor/hv_xen.py b/lib/hypervisor/hv_xen.py index c85410b86..81adeb9ee 100644 --- a/lib/hypervisor/hv_xen.py +++ b/lib/hypervisor/hv_xen.py @@ -737,7 +737,7 @@ class XenHvmHypervisor(XenHypervisor): # TODO: Add a check for the blockdev prefix (matching [a-z:] or similar). constants.HV_BLOCKDEV_PREFIX: hv_base.NO_CHECK, # Add PCI passthrough - constants.HV_PASSTHROUGH: hv_base.NO_CHECK, + constants.HV_PASSTHROUGH: hv_base.NO_CHECK, constants.HV_REBOOT_BEHAVIOR: hv_base.ParamInSet(True, constants.REBOOT_BEHAVIORS), constants.HV_CPU_MASK: hv_base.OPT_MULTI_CPU_MASK_CHECK, @@ -840,8 +840,8 @@ class XenHvmHypervisor(XenHypervisor): pci_pass_arr = [] pci_pass = hvp[constants.HV_PASSTHROUGH] if pci_pass: - pci_pass_arr = pci_pass.split(";") - config.write("pci = %s\n" % pci_pass_arr) + pci_pass_arr = pci_pass.split(";") + config.write("pci = %s\n" % pci_pass_arr) config.write("on_poweroff = 'destroy'\n") if hvp[constants.HV_REBOOT_BEHAVIOR] == constants.INSTANCE_REBOOT_ALLOWED: config.write("on_reboot = 'restart'\n") -- GitLab