Created
April 13, 2015 16:00
-
-
Save almet/d8ad487f00ee9a526afe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print ', '.join( | |
set([p.contact_email for p in Project.query.all() | |
if p.get_bills().count() > 10 | |
and (now - p.get_bills().first().date) < datetime.timedelta(weeks=4*6)]) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment