Commit 8038d3f3 authored by Jean-Paul Smets's avatar Jean-Paul Smets

use of aq_base in context

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1353 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 530acb3d
No related merge requests found
......@@ -29,7 +29,7 @@
from Acquisition import aq_base
from Globals import InitializeClass
from Base import TempBase
from Products.ERP5Type.Base import TempBase
from zLOG import LOG
......@@ -74,7 +74,7 @@ class Context(TempBase):
"""
# Copy REQUEST properties to self
if REQUEST is not None:
self.__dict__.update(REQUEST)
aq_base(self).__dict__.update(REQUEST)
# Define local properties
if kw is not None: aq_base(self).__dict__.update(kw)
# Wrap context
......
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