[py3k] fix building rset description for INSERT queries
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 02 Oct 2015 10:04:12 +0200
changeset 10759 774b53f7dc3a
parent 10758 a34edc1057c0
child 10760 c34bbdb18745
[py3k] fix building rset description for INSERT queries
server/querier.py
--- a/server/querier.py	Thu Oct 01 12:34:49 2015 +0200
+++ b/server/querier.py	Fri Oct 02 10:04:12 2015 +0200
@@ -646,7 +646,7 @@
                 # so compute description manually even if there is only
                 # one solution
                 basedescr = [None] * len(plan.selected)
-                todetermine = zip(range(len(plan.selected)), repeat(False))
+                todetermine = list(zip(range(len(plan.selected)), repeat(False)))
                 descr = _build_descr(cnx, results, basedescr, todetermine)
             # FIXME: get number of affected entities / relations on non
             # selection queries ?