Specify that scanner warnings are not counted

This commit is contained in:
Daniel Martí 2014-04-08 18:49:43 +02:00
parent e8c47765ae
commit 2f43d30884

View file

@ -450,7 +450,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
if force: if force:
logging.warn('Scanner found %d problems:' % count) logging.warn('Scanner found %d problems:' % count)
else: else:
raise BuildException("Can't build due to %d scanned problems" % count) raise BuildException("Can't build due to %d errors while scanning" % count)
if not options.notarball: if not options.notarball:
# Build the source tarball right before we build the release... # Build the source tarball right before we build the release...