Remove empty lines
This commit is contained in:
parent
0db8154b9a
commit
c3e541d16a
|
@ -111,6 +111,8 @@ with codecs.open(fname, 'r', encoding='utf-8') as R:
|
|||
if line == '\033[?1h\033=\033[?25l\033[1A\n':
|
||||
line = ''
|
||||
line = IPYPY_DEANSI_RE.subn('', line)[0]
|
||||
if line == '\n':
|
||||
line = ''
|
||||
if line.startswith(('>',)):
|
||||
line = ''
|
||||
elif line == '-> self.quitting = 1\n':
|
||||
|
|
Loading…
Reference in New Issue