summaryrefslogtreecommitdiff
path: root/test/LedgerHarness.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-29 00:52:51 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-29 00:52:51 -0400
commit55f5868380a4917028365256abcfd6d0b5f0a1e4 (patch)
tree57397e284628ad0a219d3c4948482a756ba19a3b /test/LedgerHarness.py
parent2b2ffb7787df634aee1681dac7be48e986d34337 (diff)
downloadfork-ledger-55f5868380a4917028365256abcfd6d0b5f0a1e4.tar.gz
fork-ledger-55f5868380a4917028365256abcfd6d0b5f0a1e4.tar.bz2
fork-ledger-55f5868380a4917028365256abcfd6d0b5f0a1e4.zip
Setting --date-format in ~/.ledgerrc works again
Diffstat (limited to 'test/LedgerHarness.py')
-rwxr-xr-xtest/LedgerHarness.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/LedgerHarness.py b/test/LedgerHarness.py
index cd8beca8..cf65f590 100755
--- a/test/LedgerHarness.py
+++ b/test/LedgerHarness.py
@@ -48,8 +48,10 @@ class LedgerHarness:
if columns:
insert += ' --columns=80'
- command = re.sub('\$ledger', '%s%s --args-only --no-color --pager=none' % \
- (self.ledger, insert), command)
+ command = re.sub('\$ledger', '%s%s %s %s %s %s' % \
+ (self.ledger, insert, '--args-only',
+ '--no-color', '--pager=none',
+ '--date-format=%y-%b-%d'), command)
return Popen(command, shell=True, close_fds=True, env=env,
stdin=PIPE, stdout=PIPE, stderr=PIPE)