From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QfE2k-0002zx-Lc for garchives@archives.gentoo.org; Fri, 08 Jul 2011 16:36:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1AD021C03E; Fri, 8 Jul 2011 16:36:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7BA6A21C03E for ; Fri, 8 Jul 2011 16:36:34 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF6F32AC0F5 for ; Fri, 8 Jul 2011 16:36:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 46B578003D for ; Fri, 8 Jul 2011 16:36:33 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: 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: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: d1b230a62f6a58b8e06cfbae2105a5a269d37b24 Date: Fri, 8 Jul 2011 16:36:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 7c65e2c53b2f20d90419f4522e29b2bd commit: d1b230a62f6a58b8e06cfbae2105a5a269d37b24 Author: Zac Medico gentoo org> AuthorDate: Fri Jul 8 16:36:17 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Jul 8 16:36:17 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dd1b230a6 RepoConfig: ignore missing name if no location This happens if there is an orphan entry in repos.conf. --- pym/portage/repository/config.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pym/portage/repository/config.py b/pym/portage/repository/co= nfig.py index 38ed6a1..4461901 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -290,7 +290,9 @@ class RepoConfigLoader(object): ignored_repos =3D tuple((repo_name, tuple(paths)) \ for repo_name, paths in ignored_map.items()) =20 - self.missing_repo_names =3D frozenset(repo.location for repo in prepos= .values() if repo.missing_repo_name) + self.missing_repo_names =3D frozenset(repo.location + for repo in prepos.values() + if repo.location is not None and repo.missing_repo_name) =20 #Parse layout.conf and read masters key. for repo in prepos.values():