Commit e4b5cdd1 authored by Jérome Perrin's avatar Jérome Perrin

fix indentation

keep a reference of Globals.get_request before monkey patching it



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9042 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6d29d642
...@@ -10,6 +10,8 @@ __version__ = '0.3.0' ...@@ -10,6 +10,8 @@ __version__ = '0.3.0'
current_app = None current_app = None
import Products.ERP5Type.Utils import Products.ERP5Type.Utils
import Globals import Globals
# store a copy of the original method
original_get_request = Globals.get_request
def get_request(): def get_request():
return current_app.REQUEST return current_app.REQUEST
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment