mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +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)
|
||||
if not current_value:
|
||||
continue
|
||||
if not section in ret['changes']:
|
||||
if section not in ret['changes']:
|
||||
ret['changes'].update({section: {}})
|
||||
ret['changes'][section].update({key: {'before': current_value,
|
||||
'after': None}})
|
||||
|
Loading…
Reference in New Issue
Block a user