diff options
Diffstat (limited to 'library')
-rwxr-xr-x | library/modify_yaml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/modify_yaml.py b/library/modify_yaml.py index 0805f01ec..d8d22d5ea 100755 --- a/library/modify_yaml.py +++ b/library/modify_yaml.py @@ -95,7 +95,7 @@ def main(): # ignore broad-except error to avoid stack trace to ansible user # pylint: disable=broad-except - except Exception, e: + except Exception as e: return module.fail_json(msg=str(e)) |