[ZPT] CVS: Releases/Zope/lib/python/Products/PageTemplates - ZopePageTemplate.py:1.31

Evan Simpson evan@zope.com
Tue, 12 Mar 2002 13:30:38 -0500


Update of /cvs-repository/Releases/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv26413

Modified Files:
	ZopePageTemplate.py 
Log Message:
Merge change from Zope-2_5-branch

=== Releases/Zope/lib/python/Products/PageTemplates/ZopePageTemplate.py 1.30 => 1.31 ===
     PUT = document_src = Acquisition.Acquired
     index_html = None
+
+    def __before_publishing_traverse__(self, ob, request):
+        if getattr(request, '_hacked_path', 0):
+            request._hacked_path = 0
     
     def __call__(self, REQUEST, RESPONSE):
         " "
-        return self.document_src(REQUEST, RESPONSE)
+        return self.document_src(REQUEST)
 
 d = ZopePageTemplate.__dict__
 d['source.xml'] = d['source.html'] = Src()