Replace try..except block with a condition.
Either the transaction got the load lock for all its objects, or it got it for none. So instead of having a "try..except" block which either passes or catches for each iteration, use a simple test. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1655 71dcc9de-d417-0410-9af5-da40c76e7ee4
Showing
Please register or sign in to comment