server/pool.py
changeset 3998 94cc7cad3d2d
parent 3720 5376aaadd16b
parent 3986 cc29eddf51ad
child 4252 6c4f109c2b03
equal deleted inserted replaced
3895:92ead039d3d0 3998:94cc7cad3d2d
   121 
   121 
   122     def reset_connection(self, source, cnx):
   122     def reset_connection(self, source, cnx):
   123         self.source_cnxs[source.uri] = (source, cnx)
   123         self.source_cnxs[source.uri] = (source, cnx)
   124         self._cursors.pop(source.uri, None)
   124         self._cursors.pop(source.uri, None)
   125 
   125 
       
   126 
   126 from cubicweb.server.hook import (Operation, LateOperation, SingleOperation,
   127 from cubicweb.server.hook import (Operation, LateOperation, SingleOperation,
   127                                   SingleLastOperation)
   128                                   SingleLastOperation)
   128 from logilab.common.deprecation import class_moved, class_renamed
   129 from logilab.common.deprecation import class_moved, class_renamed
   129 Operation = class_moved(Operation)
   130 Operation = class_moved(Operation)
   130 PreCommitOperation = class_renamed('PreCommitOperation', Operation)
   131 PreCommitOperation = class_renamed('PreCommitOperation', Operation)