fix pylint error

This commit is contained in:
David Boucha 2013-11-14 18:17:56 -07:00
parent 12504f171b
commit fe5e430d51

View File

@ -56,7 +56,7 @@ def _check_xenapi():
if HAS_IMPORTLIB:
return importlib.import_module('xen.xm.XenAPI')
return __import__('xen.xm.XenAPI').xm.XenAPI
except ImportError, AttributeError:
except (ImportError, AttributeError):
return False