sys.exit removal for notification/mail.py
This commit is contained in:
parent
e99a202ac5
commit
a87cf4967e
1 changed files with 0 additions and 1 deletions
|
@ -285,7 +285,6 @@ def main():
|
||||||
msg.attach(part)
|
msg.attach(part)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
module.fail_json(rc=1, msg="Failed to send mail: can't attach file %s: %s" % (file, 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()
|
composed = msg.as_string()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue