equal
deleted
inserted
replaced
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) |