aboutsummaryrefslogtreecommitdiffstats
path: root/git-patchwork-bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'git-patchwork-bot.py')
-rwxr-xr-xgit-patchwork-bot.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/git-patchwork-bot.py b/git-patchwork-bot.py
index 2fd87fb..a68b22e 100755
--- a/git-patchwork-bot.py
+++ b/git-patchwork-bot.py
@@ -859,6 +859,14 @@ def housekeeping(rm, settings, nomail, dryrun):
if not report:
continue
+ if 'summaryto' not in settings:
+ logger.info('Report follows')
+ logger.info('------------------------------')
+ logger.info(report)
+ logger.info('------------------------------')
+ logger.debug('summaryto not set, not sending report')
+ continue
+
report += '\n-- \nDeet-doot-dot, I am a bot.\nhttps://korg.wiki.kernel.org/userdoc/pwbot\n'
msg = MIMEText(report, _charset='utf-8')