mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
more pylint
This commit is contained in:
parent
b6577e4328
commit
f484bd52fd
@ -111,9 +111,7 @@ LOGIN_DETAILS = {}
|
||||
|
||||
|
||||
def __virtual__():
|
||||
if HAS_JSONSCHEMA:
|
||||
return True
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
def mod_init(low):
|
||||
|
@ -25,7 +25,7 @@ import salt.utils.vmware
|
||||
from salt.ext import six
|
||||
|
||||
try:
|
||||
from pyVmomi import vim, vmodl, VmomiSupport
|
||||
from pyVmomi import vim, vmodl
|
||||
HAS_PYVMOMI = True
|
||||
except ImportError:
|
||||
HAS_PYVMOMI = False
|
||||
|
Loading…
Reference in New Issue
Block a user