devtools/__init__.py
changeset 10354 635cfac73d28
parent 10331 6f25c7e4f19b
child 10437 9cddd711419c
--- a/devtools/__init__.py	Fri Jun 13 13:54:28 2014 +0200
+++ b/devtools/__init__.py	Tue Jun 10 16:01:49 2014 +0200
@@ -494,7 +494,7 @@
             repo = self.get_repo(startup=True)
             cnx = self.get_cnx()
             with cnx:
-                pre_setup_func(cnx._cnx, self.config)
+                pre_setup_func(cnx, self.config)
                 cnx.commit()
         self.backup_database(test_db_id)