+1 

On Fri, 2003-10-31 at 07:43, Leonardo Rochael Almeida wrote:
> On Fri, 2003-10-31 at 09:28, Florent Guillaume wrote:
> > [...] manage_beforeDelete has this code:
> >              try:
> >                  if hasattr(aq_base(object), 'manage_beforeDelete'):
> >                      object.manage_beforeDelete(item, container)
> >              except BeforeDeleteException, ob:
> >                  raise
> >              except:
> >                  LOG('Zope',ERROR,'manage_beforeDelete() threw',
> >                      error=sys.exc_info())
> >                  pass
> > Which means that ConflictErrors in my invariant code get swallowed [...]
> > 
> > I want to add an additionnal:
> >              except ConflictError:
> >                  raise
> 
> +1


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to