# HG changeset patch # User Denis Laxalde # Date 1488809813 -3600 # Node ID 1b9fd8bda1cdbb585f4d8f1207f43a7f8e321dad # Parent f69288934d66e20ac384fedde3b84278d53cc373 [pyramid] Drop useless "init_instance" module diff -r f69288934d66 -r 1b9fd8bda1cd cubicweb/pyramid/init_instance.py --- a/cubicweb/pyramid/init_instance.py Mon Mar 06 15:01:41 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -from cubicweb.cwconfig import CubicWebConfiguration - - -def includeme(config): - appid = config.registry.settings['cubicweb.instance'] - cwconfig = CubicWebConfiguration.config_for(appid) - - config.registry['cubicweb.config'] = cwconfig - config.registry['cubicweb.repository'] = repo = cwconfig.repository() - config.registry['cubicweb.registry'] = repo.vreg