# HG changeset patch # User Denis Laxalde # Date 1488809624 -3600 # Node ID fe057cb231b6c367fe307923e95de8da1c197611 # Parent 116005b5fce913686adfcd01104f8308cf6b6990 [cwconfig] Do not instantiate a repo with a scheduler in repository method None of the caller of this method need the repository to have a scheduler and having a scheduler should be something that's explicitly requested. diff -r 116005b5fce9 -r fe057cb231b6 cubicweb/cwconfig.py --- a/cubicweb/cwconfig.py Mon Mar 06 14:50:00 2017 +0100 +++ b/cubicweb/cwconfig.py Mon Mar 06 15:13:44 2017 +0100 @@ -1121,8 +1121,7 @@ def repository(self, vreg=None): """Return a new bootstrapped repository.""" from cubicweb.server.repository import Repository - from cubicweb.server.utils import scheduler - repo = Repository(self, scheduler=scheduler(), vreg=vreg) + repo = Repository(self, vreg=vreg) repo.bootstrap() return repo