diff options
-rwxr-xr-x | test/DocTests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DocTests.py b/test/DocTests.py index cbad9ca7..04241188 100755 --- a/test/DocTests.py +++ b/test/DocTests.py @@ -113,7 +113,7 @@ class DocTests: else: return None - command = shlex.split(command) + command = filter(lambda x: x != '\n', shlex.split(command)) if command[0] == '$': command.remove('$') index = command.index('ledger') command[index] = self.ledger |