git.samba.org
/
jelmer
/
dulwich.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13d5d7
)
Support error lines with ERROR: as well.
author
Jelmer Vernooij
<jelmer@jelmer.uk>
Fri, 28 Sep 2018 05:03:19 +0000
(06:03 +0100)
committer
Jelmer Vernooij
<jelmer@jelmer.uk>
Fri, 28 Sep 2018 05:03:19 +0000
(06:03 +0100)
dulwich/client.py
patch
|
blob
|
history
diff --git
a/dulwich/client.py
b/dulwich/client.py
index 7bfab87d453951e94ed8d2c1f0856066d358bb45..8fec406b2d3eb4342d6164bd4d59757ff637860a 100644
(file)
--- a/
dulwich/client.py
+++ b/
dulwich/client.py
@@
-643,6
+643,7
@@
def remote_error_from_stderr(stderr):
for l in stderr.readlines():
if l.startswith(b'ERROR: '):
return GitProtocolError(l[len(b'ERROR: '):].decode('utf-8', 'replace'))
+ return GitProtocolError(l.decode('utf-8', 'replace'))
return HangupException()