aboutsummaryrefslogtreecommitdiff
path: root/find-modules/rules_engine.py
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2017-01-11 21:27:03 +0000
committerStephen Kelly <steveire@gmail.com>2017-01-11 21:27:03 +0000
commited1b9ce2bb2a2e51410e0a1754a72c110010a6a0 (patch)
tree74e69c7f76a0ec8c8abf5357cefe235531e821fd /find-modules/rules_engine.py
parent8aa6843404f9c6faef66cb9c76358158eafc1af1 (diff)
downloadextra-cmake-modules-ed1b9ce2bb2a2e51410e0a1754a72c110010a6a0.tar.gz
extra-cmake-modules-ed1b9ce2bb2a2e51410e0a1754a72c110010a6a0.tar.bz2
Bindings: Fix logging output severity for parsing messages
The Python logging module uses logging severities with numerical values which form a sequence in steps of 10. The Clang cindex.Diagnostic numerical values use a step size of 1, so the two are incompatible. Introduce a mapping function so that appropriate errors get issued when attempting to build the bindings. The logging module has one surplus diagnostic level, but we simply never use it. BUG: 374801
Diffstat (limited to 'find-modules/rules_engine.py')
0 files changed, 0 insertions, 0 deletions