def set_repository_order(self, repository_name, after=None, before=None):
        candidates = self._repository_by_name[repository_name]
        if len(candidates) < 1:
            raise DepSolverError("No repository with name '%s'" % (repository_name,))
        else:
            self._scheduler.set_constraints(repository_name, after, before)
dataset/ETHPy150Open enthought/depsolver/depsolver/pool.py/Pool.set_repository_order/original