From 46201b346fec29f9cb740728a3c20266094d58b2 Mon Sep 17 00:00:00 2001 From: Barry Scott Date: Mon, 30 May 2016 15:05:32 +0100 Subject: Fix flake8 complaints --- git/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git/util.py') diff --git a/git/util.py b/git/util.py index f185156c..2f894576 100644 --- a/git/util.py +++ b/git/util.py @@ -194,8 +194,8 @@ class RemoteProgress(object): # Counting objects: 4, done. # Compressing objects: 50% (1/2) \rCompressing objects: 100% (2/2) \rCompressing objects: 100% (2/2), done. self._cur_line = line - if len(self._error_lines) > 0 or self._cur_line.startswith( ('error:', 'fatal:') ): - self._error_lines.append( self._cur_line ) + if len(self._error_lines) > 0 or self._cur_line.startswith(('error:', 'fatal:')): + self._error_lines.append(self._cur_line) return [] sub_lines = line.split('\r') -- cgit v1.2.1