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