mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
xend: Fix exception in pci_convert_sxp_to_dict()
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
This commit is contained in:
1 parent
b35b1efb72
commit
755c7136fe
1 file changed
+1
-1
@@ -1586,7 +1586,7 @@ class XendConfig(dict):
|
||||
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())
|
||||
|
||||