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

[Xen-changelog] [xen-unstable] xend: fix traceback in pci.py



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1269329350 0
# Node ID dbe65678b6f82afff55af846d30afaa43ddcfae1
# Parent  bcc09eb7379fa3717bc95bd235084c09b7a1bed5
xend: fix traceback in pci.py

Signed-off-by:  Jim Fehlig <jfehlig@xxxxxxxxxx>
---
 tools/python/xen/util/pci.py |    3 +++
 1 files changed, 3 insertions(+)

diff -r bcc09eb7379f -r dbe65678b6f8 tools/python/xen/util/pci.py
--- a/tools/python/xen/util/pci.py      Tue Mar 23 07:28:33 2010 +0000
+++ b/tools/python/xen/util/pci.py      Tue Mar 23 07:29:10 2010 +0000
@@ -1251,6 +1251,9 @@ class PciDevice:
         except IOError, (errno, strerr):
             raise PciDeviceParseError(('Failed to locate sysfs mount: %s: %s 
(%d)' %
                 (PROC_PCI_PATH, strerr, errno)))
+        except TypeError, err:
+            log.debug("Caught TypeError '%s'" % err)
+            pass
 
     def get_info_from_sysfs(self):
         self.find_capability(0x11)

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