mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-19 03:30:12 +02:00
Don't output stdout/stderr twice, print what is run and where
This commit is contained in:
parent
162c7c40e6
commit
83183a31ac
@ -894,6 +894,7 @@ def main():
|
|||||||
for app in build_succeeded:
|
for app in build_succeeded:
|
||||||
print "success: %s" % (app['id'])
|
print "success: %s" % (app['id'])
|
||||||
|
|
||||||
|
if not options.verbose:
|
||||||
for fa in failed_apps:
|
for fa in failed_apps:
|
||||||
print "Build for app %s failed:\n%s" % (fa, failed_apps[fa])
|
print "Build for app %s failed:\n%s" % (fa, failed_apps[fa])
|
||||||
|
|
||||||
|
@ -1815,6 +1815,9 @@ def FDroidPopen(commands, cwd,
|
|||||||
sys.stderr.flush()
|
sys.stderr.flush()
|
||||||
result.stderr += line
|
result.stderr += line
|
||||||
|
|
||||||
|
if verbose:
|
||||||
|
print "Directory: %s" % cwd
|
||||||
|
print " > %s" % ' '.join(commands)
|
||||||
p.communicate()
|
p.communicate()
|
||||||
result.returncode = p.returncode
|
result.returncode = p.returncode
|
||||||
return result
|
return result
|
||||||
|
Loading…
Reference in New Issue
Block a user