[CMF-checkins] CVS: Products/DCWorkflow - Expression.py:1.7
Jens Vagelpohl
jens@zope.com
Tue, 18 Sep 2001 15:38:29 -0400
Update of /cvs-repository/Products/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv6058
Modified Files:
Expression.py
Log Message:
Modified to cut reliance on REQUEST being present in all cases
=== Products/DCWorkflow/Expression.py 1.6 => 1.7 ===
'nothing': None,
'root': wf.getPhysicalRoot(),
- 'request': ob.REQUEST,
+ 'request': getattr( ob, 'REQUEST', None ),
'modules': ModuleImporter,
'user': getSecurityManager().getUser(),
'state_change': sci,