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

[Xen-changelog] [xen-unstable] xend: Fix exception in pci_convert_sxp_to_dict()



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1235041653 0
# Node ID 84af3ded5b02ba0b3f8647e3bfa993725428633b
# Parent  2a8ba98a5cff229a8931db7539f90e6c6339f38b
xend: Fix exception in pci_convert_sxp_to_dict()

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendConfig.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2a8ba98a5cff -r 84af3ded5b02 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Thu Feb 19 11:01:15 2009 +0000
+++ b/tools/python/xen/xend/XendConfig.py       Thu Feb 19 11:07:33 2009 +0000
@@ -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())

_______________________________________________
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®.