detail
bzr revid: nicolas.vanhoren@openerp.com-20130605093915-kmwtw7cq578lb230
This commit is contained in:
parent
7f44a2ea6e
commit
12e3ce123f
|
@ -366,7 +366,7 @@ class RequestProxy(object):
|
|||
return delattr(_thlocal.stack[-1], name)
|
||||
@classmethod
|
||||
def set_request(cls, request):
|
||||
class with_obj:
|
||||
class with_obj(object):
|
||||
def __enter__(self):
|
||||
if getattr(_thlocal, "stack", None) is None:
|
||||
_thlocal.stack = []
|
||||
|
|
Loading…
Reference in New Issue