mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Pylint fix
This commit is contained in:
parent
b4366103a6
commit
20dd5593cd
@ -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']))
|
||||
|
Loading…
Reference in New Issue
Block a user