When using `rc` remove “read() failed” messages
This commit is contained in:
parent
1a2e741337
commit
0a8e94d031
|
@ -98,4 +98,7 @@ with codecs.open(fname, 'r', encoding='utf-8') as R:
|
|||
line = IPYPY_DEANSI_RE.subn('', line)[0]
|
||||
if line == '\n' and not was_empty:
|
||||
line = ''
|
||||
elif shell == 'rc':
|
||||
if line == 'read() failed: Connection reset by peer\n':
|
||||
line = ''
|
||||
W.write(line)
|
||||
|
|
Loading…
Reference in New Issue