mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
py3: update_mod_nss_cipher_suite: ordering doesn't work with None
Py3 doesn't support ordering with None value https://fedorahosted.org/freeipa/ticket/4985 Reviewed-By: Jan Cholasta <jcholast@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
parent
c6a57d8091
commit
99771ceb9f
@ -1438,7 +1438,7 @@ def update_mod_nss_cipher_suite(http):
|
||||
root_logger.info('[Updating mod_nss cipher suite]')
|
||||
|
||||
revision = sysupgrade.get_upgrade_state('nss.conf', 'cipher_suite_updated')
|
||||
if revision >= httpinstance.NSS_CIPHER_REVISION:
|
||||
if revision and revision >= httpinstance.NSS_CIPHER_REVISION:
|
||||
root_logger.debug("Cipher suite already updated")
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user