[Erp5-report] r28049 - /erp5/trunk/products/ERP5Type/Tool/SessionTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jul 10 13:10:20 CEST 2009


Author: nicolas
Date: Fri Jul 10 13:10:19 2009
New Revision: 28049

URL: http://svn.erp5.org?rev=28049&view=rev
Log:
call getter instead attribute

Modified:
    erp5/trunk/products/ERP5Type/Tool/SessionTool.py

Modified: erp5/trunk/products/ERP5Type/Tool/SessionTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Tool/SessionTool.py?rev=28049&r1=28048&r2=28049&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Tool/SessionTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Tool/SessionTool.py [utf8] Fri Jul 10 13:10:19 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2002, 2005 Nexedi SARL and Contributors. All Rights Reserved.
@@ -219,7 +220,7 @@
       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):




More information about the Erp5-report mailing list