From 852f5176a158d03de1e47676d7fdf7bc36ecd550 Mon Sep 17 00:00:00 2001 From: GGabriele Date: Wed, 14 Sep 2016 15:56:14 +0200 Subject: [PATCH] Removing indentation --- lib/ansible/modules/network/nxos/nxos_snapshot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/network/nxos/nxos_snapshot.py b/lib/ansible/modules/network/nxos/nxos_snapshot.py index ed113c6f70..54a4ae965b 100644 --- a/lib/ansible/modules/network/nxos/nxos_snapshot.py +++ b/lib/ansible/modules/network/nxos/nxos_snapshot.py @@ -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.")