From e3acf3185564b4ec727f537b674957fc573eebbd Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Fri, 10 Jul 2009 11:10:19 +0000
Subject: [PATCH] call getter instead attribute

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28049 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/Tool/SessionTool.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ERP5Type/Tool/SessionTool.py b/product/ERP5Type/Tool/SessionTool.py
index f4274f80c5..84534d6d22 100644
--- a/product/ERP5Type/Tool/SessionTool.py
+++ b/product/ERP5Type/Tool/SessionTool.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2002, 2005 Nexedi SARL and Contributors. All Rights Reserved.
@@ -219,7 +220,7 @@ class SessionTool(BaseTool):
       storage_plugin.set(session_id, SESSION_SCOPE, session, session_duration)
     else:
       # cache plugin returns wrapper (CacheEntry instance)
-      session = session.value
+      session = session.getValue()
     return session 
 
   def newContent(self, id, **kw):
-- 
2.30.9