From 32e6bed76a40a5464923cd78ce0ff8be5146f98e Mon Sep 17 00:00:00 2001 From: Nelson Elhage Date: Mon, 28 Dec 2009 18:24:22 -0500 Subject: [PATCH] Move build products into out/ --- .gitignore | 1 + report.py | 2 +- show-week.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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: -- 2.30.2