Skip to content

Commit a1634dc

Browse files
committed
As suggested in this comment gitpython-developers#564 (comment)
1 parent 89df641 commit a1634dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def _parse_progress_line(self, line):
386386
# handle
387387
# Counting objects: 4, done.
388388
# Compressing objects: 50% (1/2) \rCompressing objects: 100% (2/2) \rCompressing objects: 100% (2/2), done.
389-
self._cur_line = line
389+
self._cur_line = line = line.decode('utf-8') if isinstance(line, bytes) else line
390390
if len(self.error_lines) > 0 or self._cur_line.startswith(('error:', 'fatal:')):
391391
self.error_lines.append(self._cur_line)
392392
return []

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy