Behavior on non definded name in Cheetah

Paolo Pantaleo paolopantaleo at gmail.com
Wed Aug 2 05:55:38 EDT 2006


[I hope I am posting to the right place]

I have a cheetah template something like this:

x is: $x
y is: $y
z is: $z

[Actually more complicated]

If for example $y is not defined I get an exception and  the parsing
of the template stops. Is  there any way to substitute $y with an emty
string and making cheeta going on with parsing?

Thnx
PAolo

-- 
if you have a minute to spend please visit my photogrphy site:
http://mypic.co.nr



More information about the Python-list mailing list