summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorBarry Scott <barry@barrys-emacs.org>2016-05-30 15:05:32 +0100
committerBarry Scott <barry@barrys-emacs.org>2016-05-30 15:05:32 +0100
commit46201b346fec29f9cb740728a3c20266094d58b2 (patch)
treef1a2b87934366974a2d60497e2f630cb9844e515 /git/remote.py
parent78f3f38d18fc88fd639af8a6c1ef757d2ffe51d6 (diff)
downloadgitpython-46201b346fec29f9cb740728a3c20266094d58b2.tar.gz
Fix flake8 complaints
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/remote.py b/git/remote.py
index 1ef62409..ba51fe92 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -599,7 +599,7 @@ class Remote(LazyMixin, Iterable):
finalize_process(proc, stderr=stderr_text)
if error_message is not None:
- raise GitCommandError( error_message, 2, stderr=stderr_text )
+ raise GitCommandError(error_message, 2, stderr=stderr_text)
# read head information
fp = open(join(self.repo.git_dir, 'FETCH_HEAD'), 'rb')
@@ -648,7 +648,7 @@ class Remote(LazyMixin, Iterable):
handle_process_output(proc, stdout_handler, progress_handler, finalize_process)
except GitCommandError as err:
# convert any error from wait() into the same error with stdout lines
- raise GitCommandError( err.command, err.status, progress.get_stderr() )
+ raise GitCommandError(err.command, err.status, progress.get_stderr())
except Exception:
if len(output) == 0: