Merge commit 'a65815607ff9648cd27d00de5551f5caad12314f'
This commit is contained in:
commit
b3f8f943d3
1 changed files with 3 additions and 2 deletions
|
|
@ -114,8 +114,9 @@ class DocTests:
|
|||
if command[0] == '$': command.remove('$')
|
||||
index = command.index('ledger')
|
||||
command[index] = self.ledger
|
||||
command.insert(index+1, '--init-file')
|
||||
command.insert(index+2, '/dev/null')
|
||||
for i,argument in enumerate('--init-file /dev/null --columns 80'.split()):
|
||||
command.insert(index+i+1, argument)
|
||||
|
||||
try:
|
||||
findex = command.index('-f')
|
||||
except ValueError:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue