aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/git
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-08-03 17:54:32 -0300
committerGuido Günther <agx@sigxcpu.org>2017-08-03 17:54:32 -0300
commit3e2239e7acaa49f33cf60aa24ededdf7f280b334 (patch)
tree5188da5b2ab3089684189c2f217c588e9f4c7804 /gbp/git
parenta46ba3c76a41f85d147acf7860d4bb96826fd7fb (diff)
GitRepository: missing decode on error message
Diffstat (limited to 'gbp/git')
-rw-r--r--gbp/git/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index d10eb02a..7eca6b53 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -1867,7 +1867,7 @@ class GitRepository(object):
treeish]
out, err, ret = self._git_inout('archive', args, cwd=cwd, capture_stderr=True)
if ret:
- raise GitRepositoryError("Unable to archive %s: %s" % (treeish, err.strip()))
+ raise GitRepositoryError("Unable to archive %s: %s" % (treeish, err.decode().strip()))
def collect_garbage(self, auto=False, prune=False, aggressive=False):
"""