server/serverctl.py
branchstable
changeset 5586 aabe082fee02
parent 5585 e1cbf6b304ea
child 5590 a56eb02f9ce7
child 5692 59ceed788bdb
--- a/server/serverctl.py	Wed May 26 12:31:37 2010 +0200
+++ b/server/serverctl.py	Wed May 26 12:31:39 2010 +0200
@@ -43,7 +43,7 @@
     given server.serverconfig
     """
     from getpass import getpass
-    from logilab.common.db import get_connection
+    from logilab.database import get_connection
     dbhost = source.get('db-host')
     if dbname is None:
         dbname = source['db-name']
@@ -393,7 +393,7 @@
     def run(self, args):
         print '\n'+underline_title('Initializing the system database')
         from cubicweb.server import init_repository
-        from logilab.common.db import get_connection
+        from logilab.database import get_connection
         appid = pop_arg(args, msg='No instance specified !')
         config = ServerConfiguration.config_for(appid)
         try: