summaryrefslogtreecommitdiffstats
path: root/ipapython/kernel_keyring.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-12-14 10:12:05 +0100
committerMartin Basti <mbasti@redhat.com>2017-01-06 12:48:10 +0100
commit35ba724de90b270773d91596de310291df745df0 (patch)
tree93c8e02f6228baaa0a65da5902a99ae068571f12 /ipapython/kernel_keyring.py
parentdeaad95247fa9624bef0108bf3813f358fb17ee5 (diff)
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>
Diffstat (limited to 'ipapython/kernel_keyring.py')
0 files changed, 0 insertions, 0 deletions