more pylint

This commit is contained in:
Alexandru Bleotu 2017-09-21 15:33:00 -04:00
parent b6577e4328
commit f484bd52fd
2 changed files with 2 additions and 4 deletions

View File

@ -111,9 +111,7 @@ LOGIN_DETAILS = {}
def __virtual__():
if HAS_JSONSCHEMA:
return True
return False
return True
def mod_init(low):

View File

@ -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