xend: Fix exception in pci_convert_sxp_to_dict()
PATCH 1/1 xend: Fix exception in pci_convert_sxp_to_dict()
Signed-off-by Yosuke Iwamatsu <[email protected]>
tools/python/xen/xend/XendConfig.py +1 -1
@@ -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())