xend: fix traceback in pci.py

Signed-off-by:  Jim Fehlig <jfehlig@novell.com>
This commit is contained in:
Keir Fraser committed 2010-03-23 07:29:10 +00:00
1 parent 61ecce504b
commit fc1a26595e
1 file changed
+3
+3
View File
@@ -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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.