[Zope] Re: Upgrading to Zope 2.9.1

Martijn Pieters mj at zopatista.com
Fri Mar 10 06:01:22 EST 2006


On 3/10/06, Max M <maxm at mxm.dk> wrote:
> There has been a bug in Zope since ages, where multiline python in tal
> fails if it has Window line endings.
>
> Eg. this will fail with windows line endings:
>
> <div tal:content="content python:' '.join(['oh',
>                                     'bugger'])">

Hmm; I'll investigate if I can reproduce this and see if the same fix
(universal line endings) will solve this too. I strongly suspect the
fix will be just as easy (line 81 of FSPageTemplate.py, add a 'U' to
the file opening flags). The harder bit is the tests..

--
Martijn Pieters


More information about the Zope mailing list