mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fix PEP8 E713 - test for membership should be "not in"
This commit is contained in:
parent
5eea0f6208
commit
a8e93b2213
@ -153,7 +153,7 @@ def _parse_dnamasq(filename):
|
||||
else:
|
||||
fileopts[comps[0]] = comps[1].strip()
|
||||
else:
|
||||
if not 'unparsed' in fileopts:
|
||||
if 'unparsed' not in fileopts:
|
||||
fileopts['unparsed'] = []
|
||||
fileopts['unparsed'].append(line)
|
||||
return fileopts
|
||||
|
Loading…
Reference in New Issue
Block a user