[session] should be _cw, not req stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 06 Aug 2010 17:33:07 +0200
branchstable
changeset 6071 c7a9e25153c2
parent 6070 0ca78eb1a3c2
child 6072 9d83b214066a
[session] should be _cw, not req
server/session.py
--- a/server/session.py	Fri Aug 06 17:32:43 2010 +0200
+++ b/server/session.py	Fri Aug 06 17:33:07 2010 +0200
@@ -1021,7 +1021,7 @@
     def __init__(self, repo, cnxprops=None):
         super(InternalSession, self).__init__(InternalManager(), repo, cnxprops,
                                               _id='internal')
-        self.user.req = self # XXX remove when "vreg = user.req.vreg" hack in entity.py is gone
+        self.user._cw = self # XXX remove when "vreg = user._cw.vreg" hack in entity.py is gone
         self.cnxtype = 'inmemory'
         self.disable_hook_categories('integrity')