Fix python3 error "'dict_keys' object has no attribute 'sort'"
This commit is contained in:
parent
919f36bf54
commit
46cfaa6745
1 changed files with 1 additions and 1 deletions
|
@ -82,5 +82,5 @@ setting_default('CAS_FEDERATE_PROVIDERS', {})
|
||||||
if settings.CAS_FEDERATE:
|
if settings.CAS_FEDERATE:
|
||||||
settings.CAS_AUTH_CLASS = "cas_server.auth.CASFederateAuth"
|
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()
|
CAS_FEDERATE_PROVIDERS_LIST.sort()
|
||||||
|
|
Loading…
Reference in a new issue