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('$')
|
if command[0] == '$': command.remove('$')
|
||||||
index = command.index('ledger')
|
index = command.index('ledger')
|
||||||
command[index] = self.ledger
|
command[index] = self.ledger
|
||||||
command.insert(index+1, '--init-file')
|
for i,argument in enumerate('--init-file /dev/null --columns 80'.split()):
|
||||||
command.insert(index+2, '/dev/null')
|
command.insert(index+i+1, argument)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
findex = command.index('-f')
|
findex = command.index('-f')
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue