devtools/__init__.py
branchstable
changeset 7112 bb27cc300040
parent 7095 1831c3154581
child 7129 455b503fb7ff
--- a/devtools/__init__.py	Fri Mar 25 12:51:20 2011 +0100
+++ b/devtools/__init__.py	Fri Mar 25 15:45:38 2011 +0100
@@ -497,7 +497,8 @@
     @cached
     def dbcnx(self):
         from cubicweb.server.serverctl import _db_sys_cnx
-        return  _db_sys_cnx(self.system_source, 'CREATE DATABASE and / or USER', verbose=0)
+        return  _db_sys_cnx(self.system_source, 'CREATE DATABASE and / or USER',
+                            interactive=False)
 
     @property
     @cached
@@ -514,7 +515,8 @@
 
             createdb(self.helper, self.system_source, self.dbcnx, self.cursor)
             self.dbcnx.commit()
-            cnx = system_source_cnx(self.system_source, special_privs='LANGUAGE C', verbose=0)
+            cnx = system_source_cnx(self.system_source, special_privs='LANGUAGE C',
+                                    interactive=False)
             templcursor = cnx.cursor()
             try:
                 # XXX factorize with db-create code