misc: get server cache from local variable (#41744)

This commit is contained in:
Frédéric Péters 2020-04-15 14:31:26 +02:00
parent b924eb1c9a
commit 92703b3105
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ def create_server(request):
logger.error('bad metadata in idp %s, %s', idp['ENTITY_ID'], e)
cache[root] = server
settings._MELLON_SERVER_CACHE = cache
return settings._MELLON_SERVER_CACHE.get(root)
return cache.get(root)
def create_login(request):