[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xm: Fix syntax error.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1231427910 0
# Node ID 0d119f6287952a2503835cb1946f00edc3ebff94
# Parent  f20e5039b168316ef717abc60d3c82a4dc9bf4f2
xm: Fix syntax error.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/python/xen/xm/main.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r f20e5039b168 -r 0d119f628795 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Thu Jan 08 13:49:05 2009 +0000
+++ b/tools/python/xen/xm/main.py       Thu Jan 08 15:18:30 2009 +0000
@@ -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)
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.