[FIX] request.handle_exception: cleanup override logic, fixed chain broken by commit...
authorDenis Ledoux <dle@openerp.com>
Fri, 23 May 2014 11:15:52 +0000 (13:15 +0200)
committerDenis Ledoux <dle@openerp.com>
Fri, 23 May 2014 11:15:52 +0000 (13:15 +0200)
commit51c7b55da0a3b51b1b85cec1e6e68ee5c4f8e66d
treeacdcfbb2faa817c58c3cf1fcee08a4f74ff78448
parent7a3b7f7fe2e3c86a2ec7c28e983e11dcd1636f57
[FIX] request.handle_exception: cleanup override logic, fixed chain broken by commit a096ae0

handle_exception() is supposed to try handling an exception and if it cannot,
re-raise it. Overridden methods must therefore call super() within a try/except
block, and only attempt to handle the exception if super() raised.
addons/website/models/ir_http.py
openerp/http.py