email: Don't show an empty punts section

This commit is contained in:
Nelson Elhage 2010-06-09 21:02:02 -04:00
parent a9dc3ade47
commit 030f337da7
1 changed files with 2 additions and 0 deletions

View File

@ -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]))}
% 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):