mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix PEP8 E713 - test for membership should be "not in"
This commit is contained in:
parent
70df7e10da
commit
3393be722c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue