xm: Fix syntax error.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 8 Jan 2009 15:18:30 +0000 (15:18 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 8 Jan 2009 15:18:30 +0000 (15:18 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xm/main.py

index d32fd3f3397e753e7fa4ebc051c80111e2e9257b..fb98402f26ae2579a64a4997769df537a81307d7 100644 (file)
@@ -2500,7 +2500,7 @@ def xm_pci_attach(args):
             "VM":           get_single_vm(dom),
             "PPCI":         target_ref,
             "hotplug_slot": vslt,
-            "options":      dict([k, v] for k, v in config_pci_opts)
+            "options":      dict(config_pci_opts)
         }
         server.xenapi.DPCI.create(dpci_record)