Yosuke Iwamatsu
2009-Feb-19 10:44 UTC
[Xen-devel] [PATCH] xend: Fix exception in pci_convert_sxp_to_dict()
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
diff -r b29a64d04a01 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py Wed Feb 18 08:59:26 2009 +0000
+++ b/tools/python/xen/xend/XendConfig.py Thu Feb 19 19:26:17 2009 +0900
@@ -1586,7 +1586,7 @@
try:
opt, val = opt_val
pci_dev_info[opt] = val
- except TypeError:
+ except (TypeError, ValueError):
pass
# append uuid for each pci device.
dpci_uuid = pci_dev_info.get(''uuid'',
uuid.createString())
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel