cubicweb/cwctl.py
changeset 11191 0c27c0da4094
parent 11189 3a39f145d530
child 11279 e4f11ef1face
--- a/cubicweb/cwctl.py	Mon Mar 07 17:51:30 2016 +0100
+++ b/cubicweb/cwctl.py	Tue Mar 15 14:59:24 2016 +0100
@@ -46,7 +46,6 @@
 from logilab.common.deprecation import deprecated
 
 from cubicweb import ConfigurationError, ExecutionError, BadCommandUsage
-from cubicweb.utils import admincnx
 from cubicweb.cwconfig import CubicWebConfiguration as cwcfg, CWDEV, CONFIGURATIONS
 from cubicweb.toolsutils import Command, rm, create_dir, underline_title
 from cubicweb.__pkginfo__ import version
@@ -880,7 +879,6 @@
             sources = ('all',)
         config.set_sources_mode(sources)
         config.repairing = self.config.force
-        cnx = admincnx(appid)
         mih = config.migration_handler()
         return mih, lambda: mih.shutdown()