From 52ee33ac9b234c7501d97b4c2bf2e2035c5ec1fa Mon Sep 17 00:00:00 2001 From: "James E. King III" Date: Tue, 5 Feb 2019 13:40:12 -0500 Subject: Added a Dockerfile that creates a clean Ubuntu Xenial test environment --- git/cmd.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'git/cmd.py') diff --git a/git/cmd.py b/git/cmd.py index e442095e..64c3d480 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -715,8 +715,11 @@ class Git(LazyMixin): stdout_sink = (PIPE if with_stdout else getattr(subprocess, 'DEVNULL', None) or open(os.devnull, 'wb')) - log.debug("Popen(%s, cwd=%s, universal_newlines=%s, shell=%s)", - command, cwd, universal_newlines, shell) + istream_ok = "None" + if istream: + istream_ok = "" + log.debug("Popen(%s, cwd=%s, universal_newlines=%s, shell=%s, istream=%s)", + command, cwd, universal_newlines, shell, istream_ok) try: proc = Popen(command, env=env, -- cgit v1.2.1