Update for last week
This commit is contained in:
parent
59e1329132
commit
b60b22c20a
|
@ -90,6 +90,7 @@ kasittig:
|
||||||
links:
|
links:
|
||||||
- [Wuthering Snow Mooncrash, 'http://kasittig.scripts.mit.edu/blog/', 'http://kasittig.scripts.mit.edu/blog/?feed=rss2']
|
- [Wuthering Snow Mooncrash, 'http://kasittig.scripts.mit.edu/blog/', 'http://kasittig.scripts.mit.edu/blog/?feed=rss2']
|
||||||
start: 12/21
|
start: 12/21
|
||||||
|
skip: [3/15/2010]
|
||||||
kcr:
|
kcr:
|
||||||
links:
|
links:
|
||||||
- [procrastination diagram, 'http://www.1ts.org/~kcr/', 'http://www.1ts.org/~kcr/index.rss']
|
- [procrastination diagram, 'http://www.1ts.org/~kcr/', 'http://www.1ts.org/~kcr/index.rss']
|
||||||
|
|
36
ledger
36
ledger
|
@ -427,3 +427,39 @@
|
||||||
2010-03-15 Week 11
|
2010-03-15 Week 11
|
||||||
User:xavid $-5
|
User:xavid $-5
|
||||||
Pool:Owed:xavid
|
Pool:Owed:xavid
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:austein $-5
|
||||||
|
Pool:Owed:austein
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:ccpost $-5
|
||||||
|
Pool:Owed:ccpost
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:fyrrwulf $-5
|
||||||
|
Pool:Owed:fyrrwulf
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:geofft $-5
|
||||||
|
Pool:Owed:geofft
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:keach $-5
|
||||||
|
Pool:Owed:keach
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:lexrj $-5
|
||||||
|
Pool:Owed:lexrj
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:nelhage $-5
|
||||||
|
Pool:Owed:nelhage
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:price $-5
|
||||||
|
Pool:Owed:price
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:quentin $-5
|
||||||
|
Pool:Owed:quentin
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:seborn $-5
|
||||||
|
Pool:Owed:seborn
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:tibbetts $-5
|
||||||
|
Pool:Owed:tibbetts
|
||||||
|
2010-03-22 Week 12
|
||||||
|
User:vinayak $-5
|
||||||
|
Pool:Owed:vinayak
|
||||||
|
|
|
@ -41,6 +41,8 @@ def render_template(path, week=None):
|
||||||
u.links = rec['links']
|
u.links = rec['links']
|
||||||
u.start = rec['start']
|
u.start = rec['start']
|
||||||
u.end = rec.get('end')
|
u.end = rec.get('end')
|
||||||
|
u.skip = [(parse(x, default=START) - START).days / 7
|
||||||
|
for x in rec.get('skip', [])]
|
||||||
u.weeks = report.get(un, [])
|
u.weeks = report.get(un, [])
|
||||||
|
|
||||||
userlist.append(u)
|
userlist.append(u)
|
||||||
|
@ -55,7 +57,9 @@ def render_template(path, week=None):
|
||||||
if u.end and parse(u.end, default=START) <= week_start:
|
if u.end and parse(u.end, default=START) <= week_start:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if user_start > week_start:
|
if week in u.skip:
|
||||||
|
pass
|
||||||
|
elif user_start > week_start:
|
||||||
skip.append(u)
|
skip.append(u)
|
||||||
elif len(u.weeks) <= week or not u.weeks[week]:
|
elif len(u.weeks) <= week or not u.weeks[week]:
|
||||||
lame.append(u)
|
lame.append(u)
|
||||||
|
|
Loading…
Reference in New Issue