mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Change unicode() --> six.text_type() for Python 3
This commit is contained in:
@@ -269,7 +269,7 @@ class TowerSAMLIdentityProvider(BaseSAMLIdentityProvider):
|
||||
logger.warn("Could not map user detail '%s' from SAML attribute '%s'; "
|
||||
"update SOCIAL_AUTH_SAML_ENABLED_IDPS['%s']['%s'] with the correct SAML attribute.",
|
||||
conf_key[5:], key, self.name, conf_key)
|
||||
return unicode(value) if value is not None else value
|
||||
return six.text_type(value) if value is not None else value
|
||||
|
||||
|
||||
class SAMLAuth(BaseSAMLAuth):
|
||||
|
||||
Reference in New Issue
Block a user