summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Baghin <uri@canva.com>2019-09-30 10:35:04 +1000
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-09-30 06:57:13 +0200
commitbb8b383d8be3f9da39c02f5e04fe3cf8260fa470 (patch)
tree7c89ad1bdd2b4de473354092ea7ba5dfbd35327f
parent63a444dd715efdce66f7ab865fc4027611f4c529 (diff)
downloadgitpython-bb8b383d8be3f9da39c02f5e04fe3cf8260fa470.tar.gz
Update util.py
-rw-r--r--git/util.py2
1 files changed, 1 insertions, 1 deletions
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)