Log message for revision 85769: Added comment about why we copy the whole method
Changed: U Zope/trunk/lib/python/Products/Five/browser/pagetemplatefile.py -=- Modified: Zope/trunk/lib/python/Products/Five/browser/pagetemplatefile.py =================================================================== --- Zope/trunk/lib/python/Products/Five/browser/pagetemplatefile.py 2008-04-26 19:04:49 UTC (rev 85768) +++ Zope/trunk/lib/python/Products/Five/browser/pagetemplatefile.py 2008-04-26 19:21:11 UTC (rev 85769) @@ -39,6 +39,9 @@ id = property(getId) def __call__(self, __instance, *args, **keywords): + # Work around BBB foul. Before Zope 2.12 there was no first argument + # but the Zope 3 version has one called instance. Some people used + # instance as an additional keyword argument. instance = __instance namespace = self.pt_getContext( request=instance.request, _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins