contrib: PEP8 compliancy (#24680)

- Make PEP8 compliant
This commit is contained in:
Dag Wieers 2017-05-30 22:08:09 +02:00 committed by John R Barker
commit 758cfeb73e
4 changed files with 23 additions and 22 deletions

View file

@ -426,7 +426,7 @@ class VMWareInventory(object):
# Reset the inventory keys
for k, v in name_mapping.items():
if not host_mapping or not k in host_mapping:
if not host_mapping or k not in host_mapping:
continue
# set ansible_host (2.x)
@ -742,5 +742,3 @@ class VMWareInventory(object):
if __name__ == "__main__":
# Run the script
print(VMWareInventory().show())