From: Nelson Elhage Date: Mon, 28 Dec 2009 23:24:22 +0000 (-0500) Subject: Move build products into out/ X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/32e6bed76a40a5464923cd78ce0ff8be5146f98e Move build products into out/ --- diff --git a/.gitignore b/.gitignore index 2f836aa..07ac938 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *~ *.pyc +out/ diff --git a/report.py b/report.py index 3959889..2c9a97e 100644 --- a/report.py +++ b/report.py @@ -49,5 +49,5 @@ for (username, u) in users.items(): for (i, w) in enumerate(weeks): print " [%d]: %s" % (i, w) -with open('report.yml', 'w') as f: +with open('out/report.yml', 'w') as f: yaml.safe_dump(log, f) diff --git a/show-week.py b/show-week.py index a21f14c..79dc4bc 100644 --- a/show-week.py +++ b/show-week.py @@ -6,7 +6,7 @@ import sys START = datetime.datetime(2009, 12, 21, 6) -with open('report.yml') as r: +with open('out/report.yml') as r: report = yaml.safe_load(r) with open('bloggers.yml') as f: