From bb8b383d8be3f9da39c02f5e04fe3cf8260fa470 Mon Sep 17 00:00:00 2001 From: Uri Baghin Date: Mon, 30 Sep 2019 10:35:04 +1000 Subject: Update util.py --- git/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/util.py') diff --git a/git/util.py b/git/util.py index c60de71b..936789cb 100644 --- a/git/util.py +++ b/git/util.py @@ -394,7 +394,7 @@ class RemoteProgress(object): # find escape characters and cut them away - regex will not work with # them as they are non-ascii. As git might expect a tty, it will send them line = self.re_ansi_escape.sub('', line) - line = line.strip() + line = line.rstrip() cur_count, max_count = None, None match = self.re_op_relative.match(line) -- cgit v1.2.1