Re: [Zope] Help needed to simplify some code

2006-03-09 Thread Chris Withers
Paul Winkler wrote: span tal:define=opts python:here.lib.parse_file(file=here.news,sepr=',',clone=1) li repeat=opt opts a tal:content=python:opt/label ^^^ Leave out the python: there. Whoops, yep, sorry about that... Chris -- Simplistix - Content

Re: [Zope] Help needed to simplify some code

2006-03-08 Thread Chris Withers
John Poltorak wrote: Several months ago someone provided me with me with some sample code which did exactly what I wanted, but looking at it again it looks a little unwieldy and could do with tidying up. It consists of:- span tal:define=opts

Re: [Zope] Help needed to simplify some code

2006-03-08 Thread Paul Winkler
On Wed, Mar 08, 2006 at 09:35:55AM +, Chris Withers wrote: John Poltorak wrote: Several months ago someone provided me with me with some sample code which did exactly what I wanted, but looking at it again it looks a little unwieldy and could do with tidying up. It consists of:- (snip)

[Zope] Help needed to simplify some code

2006-03-07 Thread John Poltorak
Several months ago someone provided me with me with some sample code which did exactly what I wanted, but looking at it again it looks a little unwieldy and could do with tidying up. It consists of:- span tal:define=opts python:here.lib.parse_file(file=here.news,sepr=',',clone=1)