Merge from 2_7-branch (evan, 2004-05-21):
MultiHook made the bogus assumption that hooks defined in classed would use the same signature as hook functions added to instances. Well, they *would*, but only after being transformed into bound methods. This means that the before-publishing-traversal hook will have call signature (container, request) as a function, but (self, container, request) as a method, with self==container.
Showing
Please register or sign in to comment