+ for (user, debt) in debts:
+ if debt < 30: continue
+ punt.append(user)
+ f.write("""\
+%(today)s Punt
+ Pool:Owed:%(user)s $-%(debt)s
+ User:%(user)s
+""" % {'user': user, 'debt': debt, 'today': today})
+
+
+if not dry_run:
+ text = render.render_template('templates/week.tmpl', date, punt=punt)
+
+ lines = text.split("\n")
+ title = lines[0]
+ body = "\n".join(lines[1:])
+
+ page = dict(title = title, description = body)