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
f329af40d1
commit
b908dfb4c9
@ -331,7 +331,7 @@ class Fileserver(object):
|
||||
path = hcomps[0]
|
||||
comps = hcomps[1].split('&')
|
||||
for comp in comps:
|
||||
if not '=' in comp:
|
||||
if '=' not in comp:
|
||||
# Invalid option, skip it
|
||||
continue
|
||||
args = comp.split('=', 1)
|
||||
|
Loading…
Reference in New Issue
Block a user