mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Don't output stdout/stderr twice, print what is run and where
This commit is contained in:
parent
162c7c40e6
commit
83183a31ac
@ -894,8 +894,9 @@ def main():
|
||||
for app in build_succeeded:
|
||||
print "success: %s" % (app['id'])
|
||||
|
||||
for fa in failed_apps:
|
||||
print "Build for app %s failed:\n%s" % (fa, failed_apps[fa])
|
||||
if not options.verbose:
|
||||
for fa in failed_apps:
|
||||
print "Build for app %s failed:\n%s" % (fa, failed_apps[fa])
|
||||
|
||||
print "Finished."
|
||||
if len(build_succeeded) > 0:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user