Fix python3 error "'dict_keys' object has no attribute 'sort'"
This commit is contained in:
parent
919f36bf54
commit
46cfaa6745
@ -82,5 +82,5 @@ setting_default('CAS_FEDERATE_PROVIDERS', {})
|
||||
if settings.CAS_FEDERATE:
|
||||
settings.CAS_AUTH_CLASS = "cas_server.auth.CASFederateAuth"
|
||||
|
||||
CAS_FEDERATE_PROVIDERS_LIST = settings.CAS_FEDERATE_PROVIDERS.keys()
|
||||
CAS_FEDERATE_PROVIDERS_LIST = list(settings.CAS_FEDERATE_PROVIDERS.keys())
|
||||
CAS_FEDERATE_PROVIDERS_LIST.sort()
|
||||
|
Loading…
Reference in New Issue
Block a user