Removing indentations

This commit is contained in:
GGabriele 2016-09-14 16:01:12 +02:00
parent 28adc331c9
commit 06bb1611f6

View file

@ -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.")