aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom <tom@ritter.vg>2016-09-14 14:12:55 -0500
committerTom <tom@ritter.vg>2016-09-14 14:12:55 -0500
commit2c8be6b6f37fa9f7ebd914475f41e52e39be0f34 (patch)
tree6204c99cc076d30f76239dd51e7fb78420a3da3b
parent052e73d3b3133524e0c661b12556ae53626eb195 (diff)
Add email body to nomail output
-rwxr-xr-xjobs/JobBase.py2
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')