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 1QPU0f-0004Hj-OI for garchives@archives.gentoo.org; Thu, 26 May 2011 06:25:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08ACA1C3A9; Thu, 26 May 2011 06:18:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CECD41C4F2 for ; Thu, 26 May 2011 06:18:31 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9851B1B4033 for ; Thu, 26 May 2011 06:18:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 072258050A for ; Thu, 26 May 2011 06:18:31 +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:2.1.9 commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/depgraph.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: f0a842be08044052e715461470c57077263e0443 Date: Thu, 26 May 2011 06:18:31 +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: 61265871e1a02e79a96e042206c52abd commit: f0a842be08044052e715461470c57077263e0443 Author: Zac Medico gentoo org> AuthorDate: Wed May 18 01:31:15 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu May 26 03:11:14 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Df0a842be depgraph._resolve: use temp set for autounmask --- pym/_emerge/depgraph.py | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index b5c3ab8..e3b8710 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2044,15 +2044,19 @@ class depgraph(object): except self._unknown_internal_error: return False, myfavorites =20 - if set(self._dynamic_config.digraph).intersection( \ + digraph_set =3D frozenset(self._dynamic_config.digraph) + + if digraph_set.intersection( self._dynamic_config._needed_unstable_keywords) or \ - set(self._dynamic_config.digraph).intersection( \ + digraph_set.intersection( self._dynamic_config._needed_use_config_changes) or \ - set(self._dynamic_config.digraph).intersection( \ + digraph_set.intersection( self._dynamic_config._needed_license_changes) : #We failed if the user needs to change the configuration return False, myfavorites =20 + digraph_set =3D None + # We're true here unless we are missing binaries. return (True, myfavorites) =20