summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/network/nxos/nxos_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/network/nxos/nxos_config.py')
-rw-r--r--lib/ansible/modules/network/nxos/nxos_config.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ansible/modules/network/nxos/nxos_config.py b/lib/ansible/modules/network/nxos/nxos_config.py
index a8a9e9ff7f..0232819a49 100644
--- a/lib/ansible/modules/network/nxos/nxos_config.py
+++ b/lib/ansible/modules/network/nxos/nxos_config.py
@@ -300,9 +300,9 @@ def get_candidate(module):
def execute_show_commands(module, commands, output='text'):
cmds = []
for command in to_list(commands):
- cmd = { 'command': command,
- 'output': output,
- }
+ cmd = {'command': command,
+ 'output': output,
+ }
cmds.append(cmd)
body = run_commands(module, cmds)
return body
@@ -460,7 +460,6 @@ def main():
'diff': {'before': str(base_config), 'after': str(running_config)}
})
-
module.exit_json(**result)