[Zope-dev] minor bug in TreeTag.py

Oliver Bleutgen Oliver Bleutgen <myzope@gmx.net>
Fri, 7 Sep 2001 12:28:43 +0200


Since the collector is down I post it here
zope 2.3.3, 2.4 

If branches and branches_expr is given, the
tree tag should raise a parse error, in TreeTag.py:

134        raise ParseError, _tm(
135                'branches and  and branches_expr given', 'tree')

But _tm seems not to exist anymore, so zope raises a NameError,
ErrorValue: _tm. Perhaps _tm is a remnant of older zope releases
and doesn't exist anymore? I didn't find it defined anywhere.
Quick greping reveals that _tm is also used in MIMETag.py.

cheers,
ol