email.txt: Only show "not yet started" section if nonempty.
authorNelson Elhage <nelhage@mit.edu>
Mon, 4 Jan 2010 15:46:12 +0000 (10:46 -0500)
committerNelson Elhage <nelhage@mit.edu>
Mon, 4 Jan 2010 15:46:12 +0000 (10:46 -0500)
templates/email.txt

index 16d7a577633f7465ff2a9ab1ae0370a1a89ff919..38a0d4bac23dc94213b8104008cc31fec3bc11ad 100644 (file)
@@ -15,10 +15,12 @@ People who failed to post:
  ${u.username}
 % endfor
 
+% if skip:
 People who have not yet started:
 % for u in sorted(skip):
  ${u.username}
 % endfor
+% endif
 
 Beer pool:
 This week: $${5 * len(lame)}.00

Benjamin Mako Hill || Want to submit a patch?