Commit 17bd174e authored by Julien Cristau's avatar Julien Cristau
Browse files

silence ccplugin import error on cubicweb 3.21

not that this makes it work, but at least cubicweb-ctl doesn't complain
every time it's run.
parent 8336c7560fda
......@@ -212,6 +212,7 @@ class UpdateWebstatsCommand(Command):
## command / initial setup API ############################################
def _init_cw_connection(self, appid):
from cubicweb.dbapi import in_memory_repo_cnx
config = cwconfig.instance_configuration(appid)
sourcescfg = config.sources()
config.set_sources_mode(('system',))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment