summaryrefslogtreecommitdiff
path: root/notification
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2015-10-05 13:23:34 -0500
committerMatt Martz <matt@sivel.net>2015-10-05 13:23:34 -0500
commiteac449342178dafee57a24b0792d3ad2fc96a2cc (patch)
tree3f0797c84ca1d51b1ff5b2c60646a619ee2a9ed3 /notification
parentabf7ee579e50154c67d39a76931d59ce6d7a9a1e (diff)
downloadansible-modules-extras-eac449342178dafee57a24b0792d3ad2fc96a2cc.tar.gz
sys.exit removal for notification/mail.py
Diffstat (limited to 'notification')
-rw-r--r--notification/mail.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/notification/mail.py b/notification/mail.py
index 8be9a589..e63a9536 100644
--- a/notification/mail.py
+++ b/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()