This commit is contained in:
Laszlo Nagy
2018-04-13 08:57:49 +10:00
parent 8fb0d36b84
commit 2f484d596e
3 changed files with 4 additions and 2 deletions

View File

@@ -33,3 +33,5 @@ v2.0.9 2017-09-03 -- Bug fix
v2.0.10 2017-10-03 -- Add typing as dependency
v2.0.11 2018-01-07 -- Fix decoding error at report generation
v2.0.12 2018-04-13 -- Fix log message bug

View File

@@ -408,7 +408,7 @@ def run_analyzer(opts, continuation=report_failure):
message = 'failed to execute "{0}"'.format(opts['clang'])
return {'error_output': message, 'exit_code': 127}
except subprocess.CalledProcessError as ex:
logging.warning('analysis failed: %s', exc_info=True)
logging.warning('analysis failed', exc_info=True)
result = {'error_output': ex.output, 'exit_code': ex.returncode}
if opts.get('output_failures', False):
opts.update(result)

View File

@@ -5,7 +5,7 @@ from setuptools import setup
setup(
name='scan-build',
version='2.0.11',
version='2.0.12',
author='László Nagy',
author_email='rizsotto@gmail.com',
keywords=['Clang', 'scan-build', 'static analyzer'],