Skip to content
Commit ed1b9ce2 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

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
parent 8aa68434
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment