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