[CMF-checkins] SVN: CMF/trunk/CMFCore/Expression.py - fixed 'request' provided by expression contexts

Yvo Schubbe y.2006_ at wcm-solutions.de
Fri Apr 28 06:45:27 EDT 2006


Log message for revision 67710:
  - fixed 'request' provided by expression contexts

Changed:
  U   CMF/trunk/CMFCore/Expression.py

-=-
Modified: CMF/trunk/CMFCore/Expression.py
===================================================================
--- CMF/trunk/CMFCore/Expression.py	2006-04-28 10:45:18 UTC (rev 67709)
+++ CMF/trunk/CMFCore/Expression.py	2006-04-28 10:45:24 UTC (rev 67710)
@@ -101,10 +101,9 @@
         'folder':       folder,
         'portal':       portal,
         'nothing':      None,
-        'request':      getattr( object, 'REQUEST', None ),
+        'request':      getattr(portal, 'REQUEST', None),
         'modules':      SecureModuleImporter,
         'member':       member,
         'here':         object,
         }
     return getEngine().getContext(data)
-



More information about the CMF-checkins mailing list