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 1QJAwe-0000YV-6C for garchives@archives.gentoo.org; Sun, 08 May 2011 20:51:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 324EB1C059; Sun, 8 May 2011 20:50:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 053091C059 for ; Sun, 8 May 2011 20:50:13 +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 892D71BC017 for ; Sun, 8 May 2011 20:50:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id E651B45B07 for ; Sun, 8 May 2011 20:50:12 +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: <4bebd088c43db654e69661979d2e2d29a3073cd2.zmedico@gentoo> 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: 4bebd088c43db654e69661979d2e2d29a3073cd2 Date: Sun, 8 May 2011 20:50:12 +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: 9bb33051848f0f9ad6ec493b3a9c6d9d commit: 4bebd088c43db654e69661979d2e2d29a3073cd2 Author: Zac Medico gentoo org> AuthorDate: Sun May 8 18:24:40 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun May 8 18:55:41 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D4bebd088 resume_depgraph: don't call break_refs in loop The break_refs call was unnecessary and it broke the state of the frozen_config instance, causing the following error: File "pym/_emerge/depgraph.py", line 1290, in _wrapped_add_pkg_dep_string inst_pkgs =3D vardb.match_pkgs(atom) AttributeError: 'vardbapi' object has no attribute 'match_pkgs' --- pym/_emerge/depgraph.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 23197db..0c36e3a 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -4250,7 +4250,7 @@ class depgraph(object): Break any references in Package instances that lead back to the depgra= ph. This is useful if you want to hold references to packages without also holding the depgraph on the heap. It should only be called after the - depgraph will not be used for any more calculations. + depgraph and _frozen_config will not be used for any more calculations= . """ for root_config in self._frozen_config.roots.values(): root_config.update(self._frozen_config._trees_orig[ @@ -6023,7 +6023,6 @@ def _resume_depgraph(settings, trees, mtimedb, myop= ts, myparams, spinner): # package has already been installed. dropped_tasks.update(pkg for pkg in \ unsatisfied_parents if pkg.operation !=3D "nomerge") - mydepgraph.break_refs() =20 del e, graph, traversed_nodes, \ unsatisfied_parents, unsatisfied_stack