Merge commit 'a65815607ff9648cd27d00de5551f5caad12314f'

This commit is contained in:
Craig Earls 2014-12-03 20:41:02 -07:00
commit b3f8f943d3

View file

@ -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: