mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-09 00:32:37 -04:00
More tolerant remote side stderr output handling
This commit is contained in:
parent
20935f809e
commit
1a9f1965d3
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ class RemoteStore(object):
|
|||
r, w, e = select.select([self.channel], [], [self.channel], 10)
|
||||
if r:
|
||||
if self.channel.recv_stderr_ready():
|
||||
raise Exception(self.channel.recv_stderr(BUFSIZE))
|
||||
print >> sys.stderr, self.channel.recv_stderr(BUFSIZE)
|
||||
elif self.channel.recv_ready():
|
||||
self.unpacker.feed(self.channel.recv(BUFSIZE))
|
||||
for type, msgid, error, res in self.unpacker:
|
||||
|
|
|
|||
Loading…
Reference in a new issue