summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-06 12:22:16 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-06 12:22:16 +0100
commit60e54133aa1105a1270f0a42e74813f75cd2dc46 (patch)
treec5d6a2c600ef7d9a66d8a11e1e474b921cccfb7d /git/cmd.py
parenta83eee5bcee64eeb000dd413ab55aa98dcc8c7f2 (diff)
downloadgitpython-60e54133aa1105a1270f0a42e74813f75cd2dc46.tar.gz
test_remote works
And I have to wonder why git-daemon serves under py2.7, but really wants receive-pack to be allowed under 3.4. Maybe it's a repository override which for some reason doesn't work in py3.4 ? Maybe because the change is not flushed ?
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 2bff3310..aac7ffb7 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -120,7 +120,7 @@ class Git(LazyMixin):
:raise GitCommandError: if the return status is not 0"""
status = self.proc.wait()
if status != 0:
- raise GitCommandError(self.args, status, self.proc.stderr.read())
+ raise GitCommandError(self.args, status, self.proc.stderr.read().decode(defenc))
# END status handling
return status
# END auto interrupt