From 9df3a491de57fec987cfabc26e4c8276f95c6af1 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Wed, 25 Jun 2014 09:25:47 +0100 Subject: [PATCH] Fix popen command logging --- fdroidserver/common.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index a5913754..e2e64ceb 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1585,11 +1585,10 @@ def FDroidPopen(commands, cwd=None, shell=False, output=True): :returns: A PopenResult. """ - if output: - if cwd: - cwd = os.path.normpath(cwd) - logging.info("Directory: %s" % cwd) - logging.info("> %s" % ' '.join(commands)) + if cwd: + cwd = os.path.normpath(cwd) + logging.debug("Directory: %s" % cwd) + logging.debug("> %s" % ' '.join(commands)) result = PopenResult() p = subprocess.Popen(commands, cwd=cwd, shell=shell, -- 2.30.2