[notification] fix dumb name error in hijack user
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 12 Mar 2010 15:01:52 +0100
changeset 4896 45a1c3f0d0d9
parent 4895 7003912cec86
child 4897 e402e0b32075
[notification] fix dumb name error in hijack user
server/session.py
--- a/server/session.py	Fri Mar 12 15:00:54 2010 +0100
+++ b/server/session.py	Fri Mar 12 15:01:52 2010 +0100
@@ -141,7 +141,7 @@
     def hijack_user(self, user):
         """return a fake request/session using specified user"""
         session = Session(user, self.repo)
-        session._threaddata.pool = pool
+        session._threaddata.pool = self.pool
         return session
 
     def add_relation(self, fromeid, rtype, toeid):