Pylint fix

This commit is contained in:
rallytime 2017-02-27 15:50:32 -07:00
parent b4366103a6
commit 20dd5593cd

View File

@ -119,7 +119,7 @@ def _iisVersion():
try:
items = json.loads(cmd_ret['stdout'], strict=False)
except ValueError:
_LOG.error('Unable to parse return data as Json.')
log.error('Unable to parse return data as Json.')
return -1
return decimal.Decimal("{0}.{1}".format(items[0]['MajorVersion'], items[0]['MinorVersion']))