mirror of
https://github.com/powerline/powerline.git
synced 2025-07-20 12:25:04 +02:00
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]
|
line = IPYPY_DEANSI_RE.subn('', line)[0]
|
||||||
if line == '\n' and not was_empty:
|
if line == '\n' and not was_empty:
|
||||||
line = ''
|
line = ''
|
||||||
|
elif shell == 'rc':
|
||||||
|
if line == 'read() failed: Connection reset by peer\n':
|
||||||
|
line = ''
|
||||||
W.write(line)
|
W.write(line)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user