hacking/: PEP8 compliancy (#24683)

- Make PEP8 compliant
This commit is contained in:
Dag Wieers 2017-05-16 19:52:07 +02:00 committed by John R Barker
parent 4f29662a9e
commit 9a5a61bdca
5 changed files with 18 additions and 20 deletions

View file

@ -60,7 +60,7 @@ parsed = json.loads(ansible_out[ansible_out.index('{'):])
ansible_facts = {}
for fact in facts:
try:
ansible_facts[fact] = parsed['ansible_facts']['ansible_'+fact]
ansible_facts[fact] = parsed['ansible_facts']['ansible_' + fact]
except:
ansible_facts[fact] = "N/A"
@ -74,4 +74,3 @@ output = {
}
print(json.dumps(output, indent=4))