summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Scott <barry@barrys-emacs.org>2016-06-13 15:36:51 +0100
committerBarry Scott <barry@barrys-emacs.org>2016-06-13 15:36:51 +0100
commita7f403b1e82d4ada20d0e747032c7382e2a6bf63 (patch)
treee1daf710fd50a67219ff87d3b75c735fceddade6
parente0eafc47c307ff0bf589ce43b623bd24fad744fd (diff)
downloadgitpython-a7f403b1e82d4ada20d0e747032c7382e2a6bf63.tar.gz
fix flake8 found problems
-rw-r--r--git/cmd.py2
-rw-r--r--git/remote.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 9a141297..b4f987ef 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -614,7 +614,7 @@ class Git(LazyMixin):
cwd=cwd,
bufsize=-1,
stdin=istream,
- stderr=PIPE,
+ stderr=PIPE,
stdout=PIPE if with_stdout else open(os.devnull, 'wb'),
shell=self.USE_SHELL,
close_fds=(os.name == 'posix'), # unsupported on windows
diff --git a/git/remote.py b/git/remote.py
index 347d2844..e30debb7 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -8,7 +8,6 @@
import re
import os
-from .exc import GitCommandError
from .config import (
SectionConstraint,
cp,