[ZPT] python:OR problems

Evan Simpson evan@zope.com
Fri, 07 Sep 2001 14:12:32 -0400


ksmith@99hats.com wrote:

> tal:define="batchsize python:5; b_start python:path('request/b_start');"
> 
> This causes Network Errors if the or side is excecuted:
> 
> tal:define="batch python:path('request/batch') or 5; b_start python:path('request/b_start') or 5;"


Why 'batchsize' in one, and 'batch' in the other?  'batch' isn't 
conflicting with another variable, is it?

> Am I doing something wrong here? Or perhaps this is a bug?

Hard to tell.  I'd need to see more context.

Cheers,

Evan @ Zope