cubicweb/server/sqlutils.py
changeset 12508 a8c1ea390400
parent 12285 512536a40993
child 12567 26744ad37953
--- a/cubicweb/server/sqlutils.py	Thu Mar 14 14:45:35 2019 +0100
+++ b/cubicweb/server/sqlutils.py	Thu Mar 14 12:08:37 2019 +0100
@@ -34,7 +34,6 @@
 
 from logilab import database as db, common as lgc
 from logilab.common.shellutils import ProgressBar, DummyProgressBar
-from logilab.common.deprecation import deprecated
 from logilab.common.logging_ext import set_log_methods
 from logilab.common.date import utctime, utcdatetime, strptime
 from logilab.database.sqlgen import SQLGenerator
@@ -237,21 +236,6 @@
         self.cnx = self._source.get_connection()
         self.cu = self.cnx.cursor()
 
-    @deprecated('[3.19] use .cu instead')
-    def __getitem__(self, uri):
-        assert uri == 'system'
-        return self.cu
-
-    @deprecated('[3.19] use repo.system_source instead')
-    def source(self, uid):
-        assert uid == 'system'
-        return self._source
-
-    @deprecated('[3.19] use .cnx instead')
-    def connection(self, uid):
-        assert uid == 'system'
-        return self.cnx
-
 
 class SqliteConnectionWrapper(ConnectionWrapper):
     """Sqlite specific connection wrapper: close the connection each time it's