server/session.py
changeset 9073 9574df1cd054
parent 9052 4cba5f2cd57b
child 9074 0616f7a713c6
--- a/server/session.py	Wed Jun 26 13:48:18 2013 +0200
+++ b/server/session.py	Fri Mar 29 17:43:18 2013 +0100
@@ -359,7 +359,7 @@
                 timeout -= time() - start
             return tuple(self._record)
 
-class Connection(object):
+class Connection(RequestSessionBase):
     """Repository Connection
 
     Holds all connection related data
@@ -417,6 +417,8 @@
     """
 
     def __init__(self, cnxid, session, rewriter):
+        # using super(Connection, self) confuse some test hack
+        RequestSessionBase.__init__(self, session.vreg)
         #: connection unique id
         self.connectionid = cnxid
         #: reentrance handling