diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-12 20:06:06 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-12 20:06:06 -0400 |
commit | 7610aec86df0fd5c49303a8ed984f16a0f0b1e1f (patch) | |
tree | d1dc8cfc48863aa067203083b2a702d5e4bba907 /scripts | |
parent | 02be02011b33051bafd1639c534967c7626fabbb (diff) | |
download | fork-ledger-7610aec86df0fd5c49303a8ed984f16a0f0b1e1f.tar.gz fork-ledger-7610aec86df0fd5c49303a8ed984f16a0f0b1e1f.tar.bz2 fork-ledger-7610aec86df0fd5c49303a8ed984f16a0f0b1e1f.zip |
added support for interval reporting; changed some option flags
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/confirm.py | 4 | ||||
-rwxr-xr-x | scripts/test | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/confirm.py b/scripts/confirm.py index c3fe70ab..ea39e94b 100755 --- a/scripts/confirm.py +++ b/scripts/confirm.py @@ -13,7 +13,7 @@ running_total = 0.0 index = 1 last_line = "" -for line in os.popen("./ledger %s reg %s" % (sys.argv[1], sys.argv[2])): +for line in os.popen("../ledger %s reg %s" % (sys.argv[1], sys.argv[2])): value = clean(line[55:67]) total = clean(line[68:80]) @@ -29,7 +29,7 @@ for line in os.popen("./ledger %s reg %s" % (sys.argv[1], sys.argv[2])): balance_total = 0.0 -for line in os.popen("./ledger %s bal %s" % (sys.argv[1], sys.argv[2])): +for line in os.popen("../ledger %s bal %s" % (sys.argv[1], sys.argv[2])): balance_total = clean(line[:20]) if abs(balance_total - running_total) > 0.001: diff --git a/scripts/test b/scripts/test index 7b17a1b2..09b0bb03 100755 --- a/scripts/test +++ b/scripts/test @@ -2,9 +2,9 @@ for test in \ "-O nrl:checking" \ - "-B 401" \ - "-V 401" \ - "-G 401" \ + "-B 401" \ + "-V 401" \ + "-G 401" \ "-B retire" \ "-V retire" \ "-G retire" |