• Vincent Pelletier's avatar
    Simplify activity error path. · 154190b3
    Vincent Pelletier authored
     - Move try..finaly block in Message.__call__ to contain all code executed after security context is changed.
     - Raise an error in Message.__call__ when method is not found.
     - Raise a dummy exception in Message.setExecutionState when there is no previous exception nor any given exception. This allows handling both cases in a single way.
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24104 20353a03-c40f-0410-a6d1-a30d3c3de9de
    154190b3
ActivityTool.py 50 KB