[server/querier] stop passing a rqlst to empty_rset
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 13 Feb 2015 09:59:34 +0100
changeset 10246 ef106564b523
parent 10245 7d21c6ac47a3
child 10247 7efcfb87b924
[server/querier] stop passing a rqlst to empty_rset (py.warnings) WARNING: /home/jcr/src/cw/cubicweb/server/querier.py:46: DeprecationWarning: [3.20] rqlst parameter is deprecated return ResultSet([], rql, args, rqlst=rqlst)
server/querier.py
--- a/server/querier.py	Thu Feb 12 18:52:04 2015 +0100
+++ b/server/querier.py	Fri Feb 13 09:59:34 2015 +0100
@@ -570,7 +570,7 @@
             except UnknownEid:
                 # we want queries such as "Any X WHERE X eid 9999" return an
                 # empty result instead of raising UnknownEid
-                return empty_rset(rql, args, rqlst)
+                return empty_rset(rql, args)
             if args and rql not in self._rql_ck_cache:
                 self._rql_ck_cache[rql] = eidkeys
                 if eidkeys: