Skip to content

Commit 2752f70

Browse files
author
Mike Dougherty
committed
Use BytesIO, not StringIO
1 parent fc417da commit 2752f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ def _get_push_info(self, proc, progress):
549549
# read the lines manually as it will use carriage returns between the messages
550550
# to override the previous one. This is why we read the bytes manually
551551
stdout, stderr = proc.communicate()
552-
digest_process_messages(io.StringIO(stderr), progress)
552+
digest_process_messages(io.BytesIO(stderr), progress)
553553

554554
output = IterableList('name')
555555
for line in stdout.splitlines():

0 commit comments

Comments
 (0)