[Zope-dev] Small bug in DTMLFile

Juan David Ibáñez Palomar palomar@sg.uji.es
Thu, 27 Sep 2001 16:15:49 +0200 (METDST)


Hello,

(I think) there's a very small bug in 'App/special_dtml.py'. In Zope
2.4.1, the line 231 is:

  if bind_to in ('container', 'client'):

I think it should be:

  if bind_to in ('container', 'context'):

The problem shows when subclassing DTMLFile and trying to change the
value of "_Bindings_client". The bug is also in the CVS.


jdavid