[Erp5-report] r11023 - /erp5/trunk/products/ERP5Type/Cache.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 31 16:13:50 CET 2006


Author: seb
Date: Tue Oct 31 16:13:48 2006
New Revision: 11023

URL: http://svn.erp5.org?rev=11023&view=rev
Log:
rename user by scope

Modified:
    erp5/trunk/products/ERP5Type/Cache.py

Modified: erp5/trunk/products/ERP5Type/Cache.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Cache.py?rev=11023&r1=11022&r2=11023&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Cache.py (original)
+++ erp5/trunk/products/ERP5Type/Cache.py Tue Oct 31 16:13:48 2006
@@ -172,7 +172,7 @@
     #erp5_site_id = kwd.get('portal_path', ('','erp5'))[1]
     
     ## cache scope is based on user which is a kwd argument
-    scope = kwd.get('user', 'GLOBAL')
+    scope = kwd.get('scope', 'GLOBAL')
     
     ## generate unique cache id
     cache_id = self.generateCacheId(self.id, *args, **kwd)




More information about the Erp5-report mailing list