chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acbbc6a
)
Revert "If given --verbose, don't print the whole error log again"
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 9 Jul 2014 09:14:01 +0000
(11:14 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 9 Jul 2014 09:14:01 +0000
(11:14 +0200)
This reverts commit
29ab3cf64df2eebdaae44b643a26c118b58c0c7e
.
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index fb8977b2061cdad4e188b7442f82a2106c7b29c6..0136f379a00b81c78750e65aef6b9ebfd584238d 100644
(file)
--- a/
fdroidserver/build.py
+++ b/
fdroidserver/build.py
@@
-1043,9
+1043,7
@@
def main():
logfile = open(os.path.join(log_dir, app['id'] + '.log'), 'a+')
logfile.write(str(be))
logfile.close()
- reason = str(be).split('\n', 1)[0] if options.verbose else str(be)
- logging.error("Could not build app %s due to BuildException: %s" % (
- app['id'], reason))
+ print("Could not build app %s due to BuildException: %s" % (app['id'], be))
if options.stop:
sys.exit(1)
failed_apps[app['id']] = be