mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
Indentation cleanup (partial)
This commit is contained in:
parent
7b177e8ebb
commit
68a9adc1be
9 changed files with 45 additions and 52 deletions
|
@ -177,11 +177,11 @@ def parse_json(data):
|
|||
# not JSON, but try "Baby JSON" which allows many of our modules to not
|
||||
# require JSON and makes writing modules in bash much simpler
|
||||
results = {}
|
||||
try :
|
||||
try:
|
||||
tokens = shlex.split(data)
|
||||
except:
|
||||
print "failed to parse json: "+ data
|
||||
raise;
|
||||
raise
|
||||
|
||||
for t in tokens:
|
||||
if t.find("=") == -1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue