[Zope] error with simple python script loop

Dieter Maurer dieter at handshake.de
Mon Nov 27 13:33:41 EST 2006


Chris Withers wrote at 2006-11-27 16:16 +0000:
> ...
>Moral of the story: if you want sane things to happen, make sure your 
>script returns a string output.

In fact, an empty string would result in the same behaviour.

Thus, the moral should be: make your your script does not return
a Python false value. As returning nothing, means returning "None"
which is a Python false value, this implies, return something.



-- 
Dieter


More information about the Zope mailing list