mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Py3: Fix ToASCII method
in Py2 to_text method returns Py2 non-unicode string, but in Py3 to_text method returns Py3 default (unicode) string. So only in Py2 we have to decode str to unicode. https://fedorahosted.org/freeipa/ticket/5935 Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ if SETUPTOOLS_VERSION < (8, 0, 0):
|
||||
|
||||
PACKAGE_VERSION = {
|
||||
'cryptography': 'cryptography >= 1.3.1',
|
||||
'dnspython': 'dnspython >= 1.13',
|
||||
'dnspython': 'dnspython >= 1.15',
|
||||
'gssapi': 'gssapi >= 1.2.0',
|
||||
'ipaclient': 'ipaclient == {}'.format(VERSION),
|
||||
'ipalib': 'ipalib == {}'.format(VERSION),
|
||||
|
||||
Reference in New Issue
Block a user