This commit is contained in:
Emmanuel Garette 2013-08-27 17:13:20 +02:00
parent b92c087cfc
commit d75cef9c0f
1 changed files with 2 additions and 3 deletions

View File

@ -222,9 +222,8 @@ def get_storage(context, session_id, persistent):
if session_id is None: if session_id is None:
session_id = gen_id(context) session_id = gen_id(context)
a=__import__(storage_type.get_storage(), globals(), locals(), return __import__(storage_type.get_storage(), globals(), locals(),
['Storage'], -1).Storage(session_id, persistent) ['Storage'], -1).Storage(session_id, persistent)
return a
def list_sessions(): def list_sessions():