server/session.py
branch3.5
changeset 3184 613064b49331
parent 3120 57ceabc6dfbc
parent 3161 005f745315b0
child 3163 edfe43ceaa35
child 3198 d2f48d30e73e
--- a/server/session.py	Fri Sep 11 12:42:37 2009 +0200
+++ b/server/session.py	Fri Sep 11 15:55:15 2009 +0200
@@ -81,7 +81,7 @@
     def hijack_user(self, user):
         """return a fake request/session using specified user"""
         session = Session(user, self.repo)
-        session._threaddata = self._threaddata
+        session._threaddata = self.actual_session()._threaddata
         return session
 
     def _change_relation(self, cb, fromeid, rtype, toeid):