From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4B2F31381F3 for ; Mon, 24 Jun 2013 22:03:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0CA5E0A00; Mon, 24 Jun 2013 22:03:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7498FE0A00 for ; Mon, 24 Jun 2013 22:03:12 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D66533E049 for ; Mon, 24 Jun 2013 22:03:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id EF3CDE468F for ; Mon, 24 Jun 2013 22:03:09 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arfrever Frehtes Taifersar Arahesis" Message-ID: <1372111359.e2130cb7d85c62070a7f8dd4cc1eac848aa126a8.arfrever@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/repository/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/repository/config.py X-VCS-Directories: pym/portage/repository/ X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis X-VCS-Revision: e2130cb7d85c62070a7f8dd4cc1eac848aa126a8 X-VCS-Branch: master Date: Mon, 24 Jun 2013 22:03:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d42e8508-4b61-43f0-a85e-eaa250195e06 X-Archives-Hash: 6fc43e0e49a3c5fd35f2a31cc28cfdf2 commit: e2130cb7d85c62070a7f8dd4cc1eac848aa126a8 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Mon Jun 24 22:02:39 2013 +0000 Commit: Arfrever Frehtes Taifersar Arahesis gmail com> CommitDate: Mon Jun 24 22:02:39 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e2130cb7 portage.repository.config.RepoConfigLoader: Add __contains__(). --- pym/portage/repository/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 3d88f48..1923b7e 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -806,6 +806,9 @@ class RepoConfigLoader(object): for repo_name in self.prepos_order: yield self.prepos[repo_name] + def __contains__(self, repo_name): + return repo_name in self.prepos + def load_repository_config(settings): #~ repoconfigpaths = [os.path.join(settings.global_config_path, "repos.conf")] repoconfigpaths = []