summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-11 02:18:04 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-11 02:18:04 -0400
commit6c66d1e0ef09f113bca11cfb5ef0f35eebcc61a3 (patch)
tree1c7dfff3ffdc1f487173c25e643041248e266987 /main.py
parentff4589caae7b5bd40350eac605916d085b5106cc (diff)
downloadfork-ledger-6c66d1e0ef09f113bca11cfb5ef0f35eebcc61a3.tar.gz
fork-ledger-6c66d1e0ef09f113bca11cfb5ef0f35eebcc61a3.tar.bz2
fork-ledger-6c66d1e0ef09f113bca11cfb5ef0f35eebcc61a3.zip
improvements to python exposure of commodity_t
Diffstat (limited to 'main.py')
-rw-r--r--main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.py b/main.py
index cad0e6e8..e3f266a3 100644
--- a/main.py
+++ b/main.py
@@ -37,6 +37,5 @@ for entry in journal:
for xact in entry:
handler (xact)
-span = Interval ("weekly last month")
-for date in span:
+for date in Interval ("weekly last month"):
print time.strftime ("%c", time.localtime (date))