Remove blank lines from pdb output

It is the problem that causes python-3.2 pdb tests to fail on travis.
This commit is contained in:
ZyX 2015-02-21 18:44:01 +03:00
parent 9a89d4defa
commit 0058919c2b
1 changed files with 2 additions and 0 deletions

View File

@ -118,4 +118,6 @@ with codecs.open(fname, 'r', encoding='utf-8') as R:
line = ''
elif line == '-> self.quitting = 1\n':
line = '-> self.quitting = True\n'
elif line == '\n':
line = ''
W.write(line)