Don't print cmd info if output is false

This commit is contained in:
Daniel Martí 2014-01-31 09:22:30 +01:00
parent 8b26f4b319
commit 5525c5cd5f

View file

@ -1383,6 +1383,7 @@ def FDroidPopen(commands, cwd=None, output=True):
:returns: A PopenResult.
"""
if output:
if cwd:
logging.info("Directory: %s" % cwd)
logging.info("> %s" % ' '.join(commands))