[Zope-CVS] CVS: Products/FileCacheManager - FileCache.py:1.5
Chris McDonough
chrism at plope.com
Sat Aug 28 22:32:10 EDT 2004
Update of /cvs-repository/Products/FileCacheManager
In directory cvs.zope.org:/tmp/cvs-serv801
Modified Files:
FileCache.py
Log Message:
Provide a way to get at the FCM via the naming expression (to determine the base directory).
=== Products/FileCacheManager/FileCache.py 1.4 => 1.5 ===
--- Products/FileCacheManager/FileCache.py:1.4 Sat Aug 28 20:58:29 2004
+++ Products/FileCacheManager/FileCache.py Sat Aug 28 22:32:09 2004
@@ -61,7 +61,8 @@
def getExprContext(self, ob=None):
""" Create a context for evaluating the TAL naming expression """
- data = { 'user' : getSecurityManager().getUser()
+ data = { 'here' : self
+ , 'user' : getSecurityManager().getUser()
, 'request' : getattr(ob, 'REQUEST', None)
, 'modules' : SecureModuleImporter
, 'object' : ob
More information about the Zope-CVS
mailing list