[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/PageTemplate/tests/testpackage - content.py:1.1.2.1.4.2
Jim Fulton
jim@zope.com
Tue, 4 Jun 2002 15:54:57 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/PageTemplate/tests/testpackage
In directory cvs.zope.org:/tmp/cvs-serv24374
Modified Files:
Tag: Zope3InWonderland-branch
content.py
Log Message:
Added request data to satisfy the IView.
=== Zope3/lib/python/Zope/App/PageTemplate/tests/testpackage/content.py 1.1.2.1.4.1 => 1.1.2.1.4.2 ===
class PTComponent(object):
- def __init__(self, content):
+ def __init__(self, content, request=None):
self.context = content
+ self.request = request
index = ViewPageTemplateFile("view.pt")