Don't output stdout/stderr twice, print what is run and where

This commit is contained in:
Daniel Martí 2013-10-23 19:53:33 +02:00
parent 162c7c40e6
commit 83183a31ac
2 changed files with 6 additions and 2 deletions

View file

@ -1815,6 +1815,9 @@ def FDroidPopen(commands, cwd,
sys.stderr.flush()
result.stderr += line
if verbose:
print "Directory: %s" % cwd
print " > %s" % ' '.join(commands)
p.communicate()
result.returncode = p.returncode
return result