Removing indentations

pull/18777/head
GGabriele 8 years ago committed by Matt Clay
parent 852f5176a1
commit 58501d3650

@ -561,9 +561,9 @@ def write_on_file(content, filename, module):
path += '/'
filepath = '{0}{1}'.format(path, filename)
try:
report = open(filepath, 'w')
report.write(content)
report.close()
report = open(filepath, 'w')
report.write(content)
report.close()
except:
module.fail_json(msg="Error while writing on file.")

Loading…
Cancel
Save