Commit e3acf318 authored by Nicolas Delaby's avatar Nicolas Delaby

call getter instead attribute

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28049 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 181ebe5d
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2002, 2005 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002, 2005 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -219,7 +220,7 @@ class SessionTool(BaseTool): ...@@ -219,7 +220,7 @@ class SessionTool(BaseTool):
storage_plugin.set(session_id, SESSION_SCOPE, session, session_duration) storage_plugin.set(session_id, SESSION_SCOPE, session, session_duration)
else: else:
# cache plugin returns wrapper (CacheEntry instance) # cache plugin returns wrapper (CacheEntry instance)
session = session.value session = session.getValue()
return session return session
def newContent(self, id, **kw): def newContent(self, id, **kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment