server/session.py
branchstable
changeset 6071 c7a9e25153c2
parent 6028 c83167d1b040
child 6077 62011f82c386
child 6385 9f91d09ee5fa
--- 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')