[FIX] Wrap werkzeug.utils.escape() to accomodate signature change in 0.9
authorOlivier Dony <odo@openerp.com>
Tue, 10 Jun 2014 16:46:40 +0000 (18:46 +0200)
committerOlivier Dony <odo@openerp.com>
Tue, 10 Jun 2014 16:46:40 +0000 (18:46 +0200)
commit6b85d80f2349a26e8eb6b68a8368d58dce3b2eb6
treea462a825454767d3a8125d7440219e95aee64728
parent6b8e9727e5ab2e7b841c307d4700934048af8d37
[FIX] Wrap werkzeug.utils.escape() to accomodate signature change in 0.9

We always want to escape quotes (") as part of the process of
generating HTML output. This option (quote=True) turned into
an implicit flag with a DeprecationWarning in werkzeug 0.9.0
It is likely to disappear in a future release of werkzeug too.
A wrapper avoids this warning without loss of compatibility
addons/website/models/ir_qweb.py
addons/website/models/website.py
addons/website_event_track/controllers/event.py
openerp/addons/base/ir/ir_qweb.py
openerp/addons/test_converter/tests/test_html.py
openerp/tools/misc.py