Remove afarrell and kyoki as punting.

This commit is contained in:
Nelson Elhage 2010-02-08 19:42:45 -05:00
parent c28c6d1bc6
commit e1ebd5c954
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@ afarrell:
links:
- ['10,000 Hours', 'http://afarrell.scripts.mit.edu/blog/', 'http://afarrell.scripts.mit.edu/blog/?feed=rss2']
start: 12/28
end: 02/01/2010
broder:
links:
- ["\u03B8: The nerd's angle", 'http://ebroder.net/', 'http://ebroder.net/feed/atom/']
@ -90,6 +91,7 @@ kyoki:
links:
- [The World's a Stage, 'http://kyoki.scripts.mit.edu/blog/', 'http://kyoki.scripts.mit.edu/blog/?feed=rss2']
start: 12/28
end: 02/01/2010
laura47:
links:
- [LAURA, 'http://lauraboylan.blogspot.com/', 'http://lauraboylan.blogspot.com/feeds/posts/default']

View File

@ -40,6 +40,7 @@ def render_template(path, week=None):
u.username = un
u.links = rec['links']
u.start = rec['start']
u.end = rec.get('end')
u.weeks = report.get(un, [])
userlist.append(u)
@ -51,6 +52,9 @@ def render_template(path, week=None):
for u in userlist:
user_start = parse(u.start, default=START)
if u.end and parse(u.end, default=START) <= week_start:
continue
if user_start > week_start:
skip.append(u)
elif len(u.weeks) <= week or not u.weeks[week]: