mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
fix pylint error
This commit is contained in:
parent
12504f171b
commit
fe5e430d51
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user