]> projects.mako.cc - iron-blogger/blob - templates/email.txt
e0dd997c49db3ac9e942ccbdcee8646c1ed755b9
[iron-blogger] / templates / email.txt
1 Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")}
2 To: iron-blogger@mit.edu
3
4 SLACKERS: ${", ".join(sorted([u.username for u in lame]))}
5 % if punt:
6 PUNTED for balance greater than $30: ${", ".join(sorted(punt))}
7 % endif
8
9 People who posted:
10 % for u in sorted(good, key=lambda u:u.username):
11  ${u.username}:
12  % for p in u.weeks[week]:
13  - ${p['url']}
14  % endfor
15 % endfor
16
17 % if skip:
18 People who have not yet started:
19 % for u in sorted(skip,  key=lambda u:u.username):
20  ${u.username}
21 % endfor
22 % endif
23
24 Beer pool:
25 This week: $${5 * len(lame)}.00
26 Total:     $${pool}
27 Paid:      $${paid}
28
29 Individual debts:
30 % for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True):
31 ${"%20s $%d" % (u, v)}
32 % endfor

Benjamin Mako Hill || Want to submit a patch?