mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Don't print cmd info if output is false
This commit is contained in:
parent
8b26f4b319
commit
5525c5cd5f
@ -1383,9 +1383,10 @@ def FDroidPopen(commands, cwd=None, output=True):
|
||||
:returns: A PopenResult.
|
||||
"""
|
||||
|
||||
if cwd:
|
||||
logging.info("Directory: %s" % cwd)
|
||||
logging.info("> %s" % ' '.join(commands))
|
||||
if output:
|
||||
if cwd:
|
||||
logging.info("Directory: %s" % cwd)
|
||||
logging.info("> %s" % ' '.join(commands))
|
||||
|
||||
result = PopenResult()
|
||||
p = subprocess.Popen(commands, cwd=cwd,
|
||||
|
Loading…
Reference in New Issue
Block a user