mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
scanner: adapt to new scan_source format (fixes #59)
This commit is contained in:
parent
e830b25561
commit
2edddda234
2 changed files with 16 additions and 15 deletions
|
|
@ -547,7 +547,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||
count = common.scan_source(build_dir, root_dir, thisbuild)
|
||||
if count > 0:
|
||||
if force:
|
||||
logging.warn('Scanner found %d problems:' % count)
|
||||
logging.warn('Scanner found %d problems' % count)
|
||||
else:
|
||||
raise BuildException("Can't build due to %d errors while scanning" % count)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue