Skip to content

Commit

Permalink
common: added warning level to WARN message
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelliavonau committed Jul 30, 2020
1 parent 6e3626d commit 8e4f8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake_converter/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def message(context, text, status): # pragma: no cover
status += '1'
message_warning_level = int(status[-1])
if message_warning_level <= context.warn_level:
print(message_begin + 'WARN : ' + WARN + text + ENDC)
print(message_begin + 'WARN L' + status[-1] + ' : ' + WARN + text + ENDC)
context.warnings_count += 1
elif status == 'ok':
print(message_begin + 'OK : ' + OK + text + ENDC)
Expand Down

0 comments on commit 8e4f8f2

Please sign in to comment.