scanner: adapt to new scan_source format (fixes #59)

This commit is contained in:
Daniel Martí 2015-01-10 13:49:54 +01:00
parent e830b25561
commit 2edddda234
2 changed files with 16 additions and 15 deletions

View file

@ -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)