Re: CVS: Zope3/src/zope/tal - talparser.py:1.6
Gintautas Miliauskas wrote:
Update of /cvs-repository/Zope3/src/zope/tal In directory cvs.zope.org:/tmp/cvs-serv27951/src/zope/tal
Modified Files: talparser.py Log Message: Removed an assertion which disallows usage of Zope3 i18n in XML markup.
Added a few test cases which run the new code path.
=== Zope3/src/zope/tal/talparser.py 1.5 => 1.6 === --- Zope3/src/zope/tal/talparser.py:1.5 Fri Mar 19 16:42:04 2004 +++ Zope3/src/zope/tal/talparser.py Wed Apr 7 11:13:00 2004 @@ -81,7 +81,6 @@ taldict[keybase] = value item = item + ("tal",) elif ns == 'i18n': - assert 0, "dealing with i18n: " + `(keybase, value)` i18ndict[keybase] = value item = item + ('i18n',) fixedattrlist.append(item)
Hello, I would like to backport this patch (including tests) to Zope 2, since I need to i18n XML generated by ZPTs. Any objections? Philipp
On Thursday 08 April 2004 10:00 am, Philipp von Weitershausen wrote:
I would like to backport this patch (including tests) to Zope 2, since I need to i18n XML generated by ZPTs.
None here. -Fred -- Fred L. Drake, Jr. <fred at zope.com> PythonLabs at Zope Corporation
participants (2)
-
Fred Drake -
Philipp von Weitershausen