robert rottermann wrote at 2008-12-6 17:15 +0100:
>I think you should  write in a python script:
>
>try:
>  result = context.insert_data.zsql

I expect (at least) two errors here. "context.insert_data()" has
a chance to work.

>  msg = 'data inserted'
>except ZeroDivisionError:
>  msg = 'ZeroDivisionError occured'



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

Reply via email to