summaryrefslogtreecommitdiffstats
path: root/ipapython/py_default_encoding
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2016-01-11 16:22:40 +0100
committerJan Cholasta <jcholast@redhat.com>2016-01-11 17:54:36 +0100
commit7cd99e852053710c64dcb66cd5b15fc8ed4da5de (patch)
treed6ba908f1c4d824644ad19e27ea3f68dea2e5b3a /ipapython/py_default_encoding
parentbc6543efae9bb1bf7c5e792e30b1ea396607f57e (diff)
downloadfreeipa-7cd99e852053710c64dcb66cd5b15fc8ed4da5de.tar.gz
freeipa-7cd99e852053710c64dcb66cd5b15fc8ed4da5de.tar.xz
freeipa-7cd99e852053710c64dcb66cd5b15fc8ed4da5de.zip
use FFI call to rpmvercmp function for version comparison
Stop using rpm-python to compare package versions since the implicit NSS initialization upon the module import breaks NSS handling in IPA code. Call rpm-libs C-API function via CFFI instead. Big thanks to Martin Kosek <mkosek@redhat.com> for sharing the code snippet that spurred this patch. https://fedorahosted.org/freeipa/ticket/5572 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipapython/py_default_encoding')
0 files changed, 0 insertions, 0 deletions