mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix PEP8 E713 - test for membership should be "not in"
This commit is contained in:
parent
8048381ee8
commit
fcaa325150
@ -109,7 +109,7 @@ def options_absent(name, sections=None):
|
|||||||
key)
|
key)
|
||||||
if not current_value:
|
if not current_value:
|
||||||
continue
|
continue
|
||||||
if not section in ret['changes']:
|
if section not in ret['changes']:
|
||||||
ret['changes'].update({section: {}})
|
ret['changes'].update({section: {}})
|
||||||
ret['changes'][section].update({key: {'before': current_value,
|
ret['changes'][section].update({key: {'before': current_value,
|
||||||
'after': None}})
|
'after': None}})
|
||||||
|
Loading…
Reference in New Issue
Block a user