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

This commit is contained in:
Pedro Algarvio 2014-06-06 11:21:27 +01:00
parent 5eea0f6208
commit a8e93b2213

View File

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