Removing indentations
This commit is contained in:
parent
28adc331c9
commit
06bb1611f6
1 changed files with 3 additions and 3 deletions
|
@ -561,9 +561,9 @@ def write_on_file(content, filename, module):
|
||||||
path += '/'
|
path += '/'
|
||||||
filepath = '{0}{1}'.format(path, filename)
|
filepath = '{0}{1}'.format(path, filename)
|
||||||
try:
|
try:
|
||||||
report = open(filepath, 'w')
|
report = open(filepath, 'w')
|
||||||
report.write(content)
|
report.write(content)
|
||||||
report.close()
|
report.close()
|
||||||
except:
|
except:
|
||||||
module.fail_json(msg="Error while writing on file.")
|
module.fail_json(msg="Error while writing on file.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue