[REM] removed Request's getattr proxying to httprequest
This might be a problem when merging the new api so we let it as is for the moment bzr revid: fme@openerp.com-20140226161627-edgbe5f8mpzylq46
This commit is contained in:
parent
5da9305bf5
commit
e2f92040db
|
@ -172,9 +172,6 @@ class WebRequest(object):
|
||||||
self._cr = self.registry.db.cursor()
|
self._cr = self.registry.db.cursor()
|
||||||
return self._cr
|
return self._cr
|
||||||
|
|
||||||
def __getattr__(self, attr):
|
|
||||||
return getattr(self.httprequest, attr)
|
|
||||||
|
|
||||||
def __enter__(self):
|
def __enter__(self):
|
||||||
_request_stack.push(self)
|
_request_stack.push(self)
|
||||||
return self
|
return self
|
||||||
|
|
Loading…
Reference in New Issue