diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-08-03 17:54:32 -0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-08-03 17:54:32 -0300 |
commit | 3e2239e7acaa49f33cf60aa24ededdf7f280b334 (patch) | |
tree | 5188da5b2ab3089684189c2f217c588e9f4c7804 /gbp/git | |
parent | a46ba3c76a41f85d147acf7860d4bb96826fd7fb (diff) |
GitRepository: missing decode on error message
Diffstat (limited to 'gbp/git')
-rw-r--r-- | gbp/git/repository.py | 2 |
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): """ |