From 2c8be6b6f37fa9f7ebd914475f41e52e39be0f34 Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 14 Sep 2016 14:12:55 -0500 Subject: Add email body to nomail output --- jobs/JobBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobs/JobBase.py') 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') -- cgit v1.2.3