diff -r 6fb9d9276880 -r 7567e99d6ed5 ccplugin.py --- a/ccplugin.py Wed Nov 04 16:41:36 2015 +0100 +++ b/ccplugin.py Tue Dec 22 19:37:49 2015 +0100 @@ -316,7 +316,7 @@ host = cwconfig['interface'] port = cwconfig['port'] or 8080 - repo = cwconfig.repository() + repo = app.application.registry['cubicweb.repository'] try: repo.start_looping_tasks() waitress.serve(app, host=host, port=port)