fix NameError (s/query/rql) in dataio.rqlquery (closes #279601)
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 24 Nov 2014 10:03:14 +0100
changeset 488 afd0c31334e2
parent 487 65bce2c06a62
child 489 010d03707a5f
fix NameError (s/query/rql) in dataio.rqlquery (closes #279601)
utils/dataio.py
--- a/utils/dataio.py	Mon Nov 24 10:02:31 2014 +0100
+++ b/utils/dataio.py	Mon Nov 24 10:03:14 2014 +0100
@@ -91,7 +91,7 @@
         else:
             cnx = get_cw_cnx(host)
             _cache_cnx[host] = cnx
-        return cnx.execute(query, kwargs)
+        return cnx.execute(rql, kwargs)
 
 
 ###############################################################################