--- a/devtools/repotest.py Wed Jun 11 15:32:07 2014 +0200
+++ b/devtools/repotest.py Wed Jun 11 17:14:32 2014 +0200
@@ -259,12 +259,11 @@
def qexecute(self, rql, args=None, build_descr=True):
with self.session.new_cnx() as cnx:
- with cnx.ensure_cnx_set:
- try:
- return self.o.execute(cnx, rql, args, build_descr)
- finally:
- if rql.startswith(('INSERT', 'DELETE', 'SET')):
- cnx.commit()
+ try:
+ return self.o.execute(cnx, rql, args, build_descr)
+ finally:
+ if rql.startswith(('INSERT', 'DELETE', 'SET')):
+ cnx.commit()
class BasePlannerTC(BaseQuerierTC):