# HG changeset patch # User Julien Cristau # Date 1458050364 -3600 # Node ID 0c27c0da40943d5fd4dabb717f6bfab298262aef # Parent 9b3a4ceff06a8b61966f55206f7e648309268b3f [cwctl] drop unnecessary admincnx call from 'shell' The connection is done by the migration helper. diff -r 9b3a4ceff06a -r 0c27c0da4094 cubicweb/cwctl.py --- 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()