# HG changeset patch # User Aurelien Campeas # Date 1399045271 -7200 # Node ID 7769d0f618106a728a36458b1ae16c26266499e4 # Parent acad42456767930a2a55a9933bbd0339babb1bee remove leftover pre 3.9 deprecation warnings diff -r acad42456767 -r 7769d0f61810 dbapi.py --- a/dbapi.py Tue Jul 22 15:42:47 2014 +0200 +++ b/dbapi.py Fri May 02 17:41:11 2014 +0200 @@ -447,11 +447,8 @@ class LogCursor(Cursor): """override the standard cursor to log executed queries""" - def execute(self, operation, parameters=None, eid_key=None, build_descr=True): + def execute(self, operation, parameters=None, build_descr=True): """override the standard cursor to log executed queries""" - if eid_key is not None: - warn('[3.8] eid_key is deprecated, you can safely remove this argument', - DeprecationWarning, stacklevel=2) tstart, cstart = time(), clock() rset = Cursor.execute(self, operation, parameters, build_descr=build_descr) self.connection.executed_queries.append((operation, parameters, diff -r acad42456767 -r 7769d0f61810 server/session.py --- a/server/session.py Tue Jul 22 15:42:47 2014 +0200 +++ b/server/session.py Fri May 02 17:41:11 2014 +0200 @@ -1010,15 +1010,12 @@ @_with_cnx_set @_open_only - def execute(self, rql, kwargs=None, eid_key=None, build_descr=True): + def execute(self, rql, kwargs=None, build_descr=True): """db-api like method directly linked to the querier execute method. See :meth:`cubicweb.dbapi.Cursor.execute` documentation. """ self._session_timestamp.touch() - if eid_key is not None: - warn('[3.8] eid_key is deprecated, you can safely remove this argument', - DeprecationWarning, stacklevel=2) rset = self._execute(self, rql, kwargs, build_descr) rset.req = self self._session_timestamp.touch() diff -r acad42456767 -r 7769d0f61810 web/data/cubicweb.ajax.js --- a/web/data/cubicweb.ajax.js Tue Jul 22 15:42:47 2014 +0200 +++ b/web/data/cubicweb.ajax.js Fri May 02 17:41:11 2014 +0200 @@ -283,8 +283,6 @@ setFormsTarget(node); } _loadDynamicFragments(node); - // XXX [3.7] jQuery.one is now used instead jQuery.bind, - // jquery.treeview.js can be unpatched accordingly. jQuery(cw).trigger('server-response', [true, node]); jQuery(node).trigger('server-response', [true, node]); }