diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-03-23 07:29:10 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-03-23 07:29:10 +0000 |
commit | fc1a26595ec71d99f107a9ef8be738720f13b27f (patch) | |
tree | 7327b8130d6fb85d93373b18d63dafb3f88f6f1b | |
parent | 61ecce504bab5f0ec96fde06a8554e5cceabb19e (diff) | |
download | xen-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.py | 3 |
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) |