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:
Keir Fraser committed 2009-02-19 11:07:33 +00:00
1 parent b35b1efb72
commit 755c7136fe
1 file changed
+1 -1
+1 -1
View File
@@ -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())
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.