server/session.py
changeset 6077 62011f82c386
parent 6033 09db6f4619c9
parent 6071 c7a9e25153c2
child 6142 8bc6eac1fac1
--- a/server/session.py	Wed Aug 04 11:16:40 2010 +0200
+++ b/server/session.py	Fri Aug 06 17:49:20 2010 +0200
@@ -1025,7 +1025,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')