projects
/
iron-blogger
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
email: Don't show an empty punts section
[iron-blogger]
/
templates
/
email.txt
diff --git
a/templates/email.txt
b/templates/email.txt
index d98a6b5b9e253c0061c7d389d22ef023b459fbef..e0dd997c49db3ac9e942ccbdcee8646c1ed755b9 100644
(file)
--- a/
templates/email.txt
+++ b/
templates/email.txt
@@
-2,6
+2,9
@@
Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")
To: iron-blogger@mit.edu
SLACKERS: ${", ".join(sorted([u.username for u in lame]))}
+% if punt:
+PUNTED for balance greater than $30: ${", ".join(sorted(punt))}
+% endif
People who posted:
% for u in sorted(good, key=lambda u:u.username):
Benjamin Mako Hill
||
Want to submit a patch?