[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher - BaseRequest.py:1.1.2.14 DefaultPublication.py:1.1.2.7 IPublication.py:1.1.2.8
Chris McDonough
chrism@zope.com
Wed, 28 Nov 2001 16:40:51 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher
In directory cvs.zope.org:/tmp/cvs-serv18058
Modified Files:
Tag: Zope-3x-branch
BaseRequest.py DefaultPublication.py IPublication.py
Log Message:
Change method named "invokeHooks" to "callTraversalHooks".
=== Zope3/lib/python/Zope/Publisher/BaseRequest.py 1.1.2.13 => 1.1.2.14 ===
if object is not prev_object:
# Invoke hooks (but not more than once).
- publication.invokeHooks(self, object)
+ publication.callTraversalHooks(self, object)
# A hook may have called changeTraversalStack().
to_traverse = self.to_traverse
prev_object = object
=== Zope3/lib/python/Zope/Publisher/DefaultPublication.py 1.1.2.6 => 1.1.2.7 ===
return self.app
- def invokeHooks(self, request, ob):
+ def callTraversalHooks(self, request, ob):
pass
def traverseName(self, request, ob, name, check_auth=1):
=== Zope3/lib/python/Zope/Publisher/IPublication.py 1.1.2.7 => 1.1.2.8 ===
"""
- def invokeHooks(request, ob):
+ def callTraversalHooks(request, ob):
"""
Invokes any traversal hooks associated with the object.
"""