mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
947ac4bc1f
If a server is running under py2 it could return a bytes value for the 'topic_topic' field in the schema response. A py3 client fails to handle this (in one place it applies 'str' to it, which raises BytesWarning; in other places it tries to serialise the schema to JSON which fails because of the bytes value). Handle the case where 'topic_topic' is not unicode, and handle bytes values when serialising the schema to JSON. Fixes: https://pagure.io/freeipa/issue/6809 Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com> |
||
---|---|---|
.. | ||
csrgen | ||
install | ||
plugins | ||
remote_plugins | ||
__init__.py | ||
__main__.py | ||
csrgen_ffi.py | ||
csrgen.py | ||
frontend.py | ||
Makefile.am | ||
setup.cfg | ||
setup.py |