aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-03-23 07:29:10 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-03-23 07:29:10 +0000
commitfc1a26595ec71d99f107a9ef8be738720f13b27f (patch)
tree7327b8130d6fb85d93373b18d63dafb3f88f6f1b
parent61ecce504bab5f0ec96fde06a8554e5cceabb19e (diff)
downloadxen-fc1a26595ec71d99f107a9ef8be738720f13b27f.tar.gz
xen-fc1a26595ec71d99f107a9ef8be738720f13b27f.tar.bz2
xen-fc1a26595ec71d99f107a9ef8be738720f13b27f.zip
xend: fix traceback in pci.py
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
-rw-r--r--tools/python/xen/util/pci.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/python/xen/util/pci.py b/tools/python/xen/util/pci.py
index 1c7be025ef..2a2585d6f7 100644
--- a/tools/python/xen/util/pci.py
+++ b/tools/python/xen/util/pci.py
@@ -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)