projects
/
iron-blogger
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a9dc3ad
)
email: Don't show an empty punts section
author
Nelson Elhage
<nelhage@ksplice.com>
Thu, 10 Jun 2010 01:02:02 +0000
(21:02 -0400)
committer
Nelson Elhage
<nelhage@ksplice.com>
Thu, 10 Jun 2010 01:02:02 +0000
(21:02 -0400)
templates/email.txt
patch
|
blob
|
history
diff --git
a/templates/email.txt
b/templates/email.txt
index aaeff73207bb205ab98e3cc6a15b5b1b5fb0abf1..e0dd997c49db3ac9e942ccbdcee8646c1ed755b9 100644
(file)
--- a/
templates/email.txt
+++ b/
templates/email.txt
@@
-2,7
+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]))}
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))}
PUNTED for balance greater than $30: ${", ".join(sorted(punt))}
+% endif
People who posted:
% for u in sorted(good, key=lambda u:u.username):
People who posted:
% for u in sorted(good, key=lambda u:u.username):
Benjamin Mako Hill
||
Want to submit a patch?