devtools/repotest.py
changeset 9098 5467fb901931
parent 9020 cb87e831c183
child 9445 65d93a4fd11c
--- a/devtools/repotest.py	Thu Jun 27 10:44:40 2013 +0200
+++ b/devtools/repotest.py	Wed Jun 26 11:21:39 2013 +0200
@@ -324,7 +324,8 @@
                 select.solutions.sort()
         else:
             rqlst.solutions.sort()
-        return self.o.plan_factory(rqlst, kwargs, self.session)
+        with self.session.ensure_cnx_set:
+            return self.o.plan_factory(rqlst, kwargs, self.session)
 
 
 # monkey patch some methods to get predicatable results #######################