--On 14. Februar 2007 18:40:25 +0000 [EMAIL PROTECTED] wrote:
Hi, I am trying to find a friendlier way of error traping when I am perform some database activities.
try..except?
The one I am looking for first is checking for a duplicate entry in a database.
What does that mean? You want to check for an existing object by id within a container?
if some_id in somefolder.objectIds(): .... -aj
pgpaWbDsNPmSK.pgp
Description: PGP signature
_______________________________________________ Zope maillist - [email protected] 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 )
