[FIX] keep backward compatibility for saas

bzr revid: fme@openerp.com-20140121160140-wgm0av3kaw0nvc61
This commit is contained in:
Fabien Meghazi 2014-01-21 17:01:40 +01:00
parent 9e9ad95ce3
commit 9981100807
1 changed files with 8 additions and 0 deletions

View File

@ -112,6 +112,14 @@ def serialize_exception(f):
return werkzeug.exceptions.InternalServerError(simplejson.dumps(error))
return wrap
def redirect_with_hash(*args, **kw):
"""
.. deprecated:: 8.0
Use the ``http.redirect_with_hash()`` function instead.
"""
return http.redirect_with_hash(*args, **kw)
def module_topological_sort(modules):
""" Return a list of module names sorted so that their dependencies of the
modules are listed before the module itself