Fix PEP8 E713 - test for membership should be "not in"

This commit is contained in:
Pedro Algarvio 2014-06-06 10:22:26 +01:00
parent f329af40d1
commit b908dfb4c9

View File

@ -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)