2009-12-29 04:16:55 +00:00
|
|
|
Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")}
|
2009-12-28 23:41:20 +00:00
|
|
|
To: iron-blogger@mit.edu
|
|
|
|
|
2010-04-16 21:25:10 +00:00
|
|
|
SLACKERS: ${", ".join(sorted([u.username for u in lame]))}
|
2010-04-13 00:39:59 +00:00
|
|
|
|
2009-12-28 23:41:20 +00:00
|
|
|
People who posted:
|
2010-01-10 14:59:49 +00:00
|
|
|
% for u in sorted(good, key=lambda u:u.username):
|
2009-12-29 19:05:36 +00:00
|
|
|
${u.username}:
|
|
|
|
% for p in u.weeks[week]:
|
2009-12-28 23:41:20 +00:00
|
|
|
- ${p['url']}
|
|
|
|
% endfor
|
|
|
|
% endfor
|
|
|
|
|
2010-01-04 15:46:12 +00:00
|
|
|
% if skip:
|
2009-12-28 23:41:20 +00:00
|
|
|
People who have not yet started:
|
2010-01-10 14:59:49 +00:00
|
|
|
% for u in sorted(skip, key=lambda u:u.username):
|
2009-12-29 19:05:36 +00:00
|
|
|
${u.username}
|
2009-12-28 23:41:20 +00:00
|
|
|
% endfor
|
2010-01-04 15:46:12 +00:00
|
|
|
% endif
|
2009-12-28 23:41:20 +00:00
|
|
|
|
|
|
|
Beer pool:
|
|
|
|
This week: $${5 * len(lame)}.00
|
2010-05-24 01:29:04 +00:00
|
|
|
Total: $${pool}
|
|
|
|
Paid: $${paid}
|
2010-05-24 00:33:53 +00:00
|
|
|
|
|
|
|
Individual debts:
|
|
|
|
% for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True):
|
|
|
|
${"%20s $%d" % (u, v)}
|
|
|
|
% endfor
|