devtools/__init__.py
changeset 9789 4903a959604a
parent 9788 47d356ee14d2
child 9790 0872ac2a1db0
--- a/devtools/__init__.py	Fri May 30 17:25:31 2014 +0200
+++ b/devtools/__init__.py	Thu Jun 12 17:50:50 2014 +0200
@@ -491,7 +491,7 @@
             repo = self.get_repo(startup=True)
             cnx = self.get_cnx()
             with cnx:
-                pre_setup_func(cnx, self.config)
+                pre_setup_func(cnx._cnx, self.config)
                 cnx.commit()
         self.backup_database(test_db_id)