From a87cf4967e7f780c7da663e20fd22d14db677deb Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 5 Oct 2015 13:23:34 -0500 Subject: [PATCH] sys.exit removal for notification/mail.py --- lib/ansible/modules/extras/notification/mail.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/modules/extras/notification/mail.py b/lib/ansible/modules/extras/notification/mail.py index 8be9a589cbf..e63a9536996 100644 --- a/lib/ansible/modules/extras/notification/mail.py +++ b/lib/ansible/modules/extras/notification/mail.py @@ -285,7 +285,6 @@ def main(): msg.attach(part) except Exception, e: module.fail_json(rc=1, msg="Failed to send mail: can't attach file %s: %s" % (file, e)) - sys.exit() composed = msg.as_string()