[ZPT] repeat trick

Peter Bengtsson mail@peterbe.com
Tue, 10 Jul 2001 17:48:23 +0200


> tal:define="users here/getUsers | nothing; string modules/string"
> tal:content="python:test(users ==
> None,lambda:'',lambda:string.join(users,'\n'))()"

Tried but returns Error Type: TALESError
Error Value: exceptions.NameError on users in ""

It's got to be doable in a simple fashion.

Peter