From ba676946f944e8d820ee1ca2cc6b28a69e845bb5 Mon Sep 17 00:00:00 2001 From: Robin Wittler Date: Wed, 7 Sep 2011 13:51:49 +0200 Subject: [PATCH] add additiomnal logging --- build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index d5c52b4..9a18d1f 100755 --- a/build.py +++ b/build.py @@ -109,10 +109,11 @@ def send_email(result): msg = ( 'From: %s\n' %(SMTP_FROM) + 'To: %s\n' %(GIT_COMMITTER_EMAIL) + - 'Subject: %s\n' %(SMTP_SUBJECT %(GIT_UPSTREAM_BRANCH, BUILD_NUMBER, + 'Subject: %s\n' %(SMTP_SUBJECT %(GIT_DEBIAN_BRANCH, BUILD_NUMBER, result)) + - '%s\n' %(SMTP_TEXT %(GIT_UPSTREAM_BRANCH, BUILD_NUMBER, result)) + '%s\n' %(SMTP_TEXT %(GIT_DEBIAN_BRANCH, BUILD_NUMBER, result)) ) + logger.info('Sending this message: %s', msg) smtp.sendmail(SMTP_FROM, GIT_COMMITTER_EMAIL, msg) smtp.quit() -- 2.39.5