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

This commit is contained in:
Pedro Algarvio 2014-06-06 11:25:32 +01:00
parent 70df7e10da
commit 3393be722c

View file

@ -59,7 +59,7 @@ def run(command):
hashes = set()
for key, val in data.items():
has = hashlib.md5(str(val)).hexdigest()
if not has in hashes:
if has not in hashes:
print('{0}:'.format(has))
pprint.pprint(val)
hashes.add(has)