From: Ciaran Gultnieks Date: Wed, 25 Jun 2014 08:25:47 +0000 (+0100) Subject: Fix popen command logging X-Git-Tag: 0.2~10 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9df3a491de57fec987cfabc26e4c8276f95c6af1;p=fdroidserver.git Fix popen command logging --- 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,