Skip to content

Commit

Permalink
Merge pull request Ericsson#1938 from gyorb/fix-len
Browse files Browse the repository at this point in the history
fix action list length check
  • Loading branch information
csordasmarton authored Feb 14, 2019
2 parents ee7e9be + b844847 commit ea8ac20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcodechecker/libhandlers/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def main(args):
load_json_or_empty(log_file),
skip_handler,
os.path.join(args.output_path, 'compiler_info.json'))
if actions == 0:
if not actions:
LOG.info("None of the specified build log files contained "
"valid compilation commands. No analysis needed...")
sys.exit(1)
Expand Down

0 comments on commit ea8ac20

Please sign in to comment.