aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/library/merge_configs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/library/merge_configs.py b/ansible/library/merge_configs.py
index 155291d0e..e894322ed 100644
--- a/ansible/library/merge_configs.py
+++ b/ansible/library/merge_configs.py
@@ -87,7 +87,7 @@ def main():
config.write(f)
module.exit_json(changed=changed)
- except Exception, e:
+ except Exception as e:
module.exit_json(failed=True, changed=changed, msg=repr(e))