diff options
author | Tom <tom@ritter.vg> | 2016-09-14 14:12:55 -0500 |
---|---|---|
committer | Tom <tom@ritter.vg> | 2016-09-14 14:12:55 -0500 |
commit | 2c8be6b6f37fa9f7ebd914475f41e52e39be0f34 (patch) | |
tree | 6204c99cc076d30f76239dd51e7fb78420a3da3b /jobs/JobBase.py | |
parent | 052e73d3b3133524e0c661b12556ae53626eb195 (diff) |
Add email body to nomail output
Diffstat (limited to 'jobs/JobBase.py')
-rwxr-xr-x | jobs/JobBase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/JobBase.py b/jobs/JobBase.py index cf720fe..78c8c71 100755 --- a/jobs/JobBase.py +++ b/jobs/JobBase.py @@ -118,7 +118,7 @@ class JobBase(object): def sendEmail(config, subject, body, to=""): if config.getboolean('email', 'nomail'): - logging.info("Not sending email with subject '" + subject + '" but pretending we did.') + logging.info("Not sending email with subject '" + subject + '" but pretending we did.\n' + body) return True FROM = config.get('email', 'user') |