--- 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')