All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xend: Fix exception in pci_convert_sxp_to_dict()
@ 2009-02-19 10:44 Yosuke Iwamatsu
  0 siblings, 0 replies; only message in thread
From: Yosuke Iwamatsu @ 2009-02-19 10:44 UTC (permalink / raw)
  To: xen-devel

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())

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-19 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 10:44 [PATCH] xend: Fix exception in pci_convert_sxp_to_dict() Yosuke Iwamatsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.