domain: Fix a small typo causing a useless backtrace

This commit is contained in:
Cole Robinson 2009-11-22 16:11:25 -05:00
parent 6bb6a44c31
commit 2c40c07252

View File

@ -904,7 +904,7 @@ class vmmDomain(gobject.GObject):
rd += io[1]
wr += io[3]
except libvirt.libvirtError, err:
if support.is_error_nosupport():
if support.is_error_nosupport(err):
logging.debug("Disk stats not supported: %s" % err)
self._stats_disk_supported = False
else: