Set try/except block at the lowest level as possible.
- Avoid have a 'break' at the first level and the end of the 'wile True' - Set try/except block around the only location where the exception can be raised. - Reduce indentation - Clarify that the loop purpose is to restart when an exception is raised. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1507 71dcc9de-d417-0410-9af5-da40c76e7ee4
Showing
Please register or sign in to comment