[Zope-dev] Re: CVS: Zope3/src/zope/tal - talparser.py:1.6
Philipp von Weitershausen
philipp at weitershausen.de
Thu Apr 8 10:00:16 EDT 2004
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
More information about the Zope-Dev
mailing list