From 2f484d596ed5ee099faef1b5b352fa06dd3f5328 Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Fri, 13 Apr 2018 08:57:49 +1000 Subject: [PATCH] fix #99 --- CHANGES.txt | 2 ++ libscanbuild/analyze.py | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 93f5f87..72b3ae4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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 diff --git a/libscanbuild/analyze.py b/libscanbuild/analyze.py index c8c374b..86e0993 100644 --- a/libscanbuild/analyze.py +++ b/libscanbuild/analyze.py @@ -408,7 +408,7 @@ def target(): 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) diff --git a/setup.py b/setup.py index d78ce99..b95a49e 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ 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'],