summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Baghin <uri@canva.com>2019-09-30 10:21:57 +1000
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-09-30 06:57:13 +0200
commit63a444dd715efdce66f7ab865fc4027611f4c529 (patch)
tree3aff6363ad65d8c0fd5feeaa2d10ca6568cf1eb4
parentb207f0e8910a478ad5aba17d19b2b00bf2cd9684 (diff)
downloadgitpython-63a444dd715efdce66f7ab865fc4027611f4c529.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 aee1a44b..c60de71b 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.strip()
+ line = line.strip()
cur_count, max_count = None, None
match = self.re_op_relative.match(line)