cubicweb/devtools/repotest.py
changeset 11237 f32134dd0067
parent 11227 1c7ce09d2a36
child 11250 597f02c5cf5a
--- a/cubicweb/devtools/repotest.py	Mon Mar 21 17:10:08 2016 +0100
+++ b/cubicweb/devtools/repotest.py	Fri Apr 29 12:39:08 2016 +0200
@@ -245,7 +245,7 @@
         plan = self._prepare_plan(cnx, rql, kwargs, simplify=False)
         plan.preprocess(plan.rqlst)
         rqlst = plan.rqlst.children[0]
-        rqlst.solutions = remove_unused_solutions(rqlst, rqlst.solutions, {}, self.repo.schema)[0]
+        rqlst.solutions = remove_unused_solutions(rqlst, rqlst.solutions, self.repo.schema)[0]
         return rqlst
 
     def user_groups_session(self, *groups):