summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,