> Hi Jonathan, thanks for taking care of the problem. I have done the self test 
> you do with the list. But everytime when something is written at last line, 
> example return 'eof' (My example in the topic) the error did not occured - so 
> the list gives me 2 and i will get 2 emails.
So try without return, eg.:
1. create ZPT with id: 'counter'
2. edith 'counter' that it contains only '0'
3. Create Script (Python):
val = context.counter()
v = int(val)+1

and test this script with/without return.

Then see what value is in 'counter' ZPT.

I have always only +1 increment, and you?

Maciej Wisniowski
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to