Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (10 sloc) 0.347 kb
#!/usr/bin/env python
from billy import db
watch = [ 'ma', 'nj', 'il', 'ny' ]
for row in db.reports.find():
if not row['_id'] in watch:
continue
for guy in [ 'bills' ]:
for thing in [ 'updated_this_month', 'updated_today' ]:
print "(%s) %s %s: %s" % ( row['_id'], guy, thing, row[guy][thing] )
print ""
Jump to Line
Something went wrong with that request. Please try again.