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 1PzUA2-0002PF-5g for garchives@archives.gentoo.org; Tue, 15 Mar 2011 13:19:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EFA2E039A; Tue, 15 Mar 2011 13:19:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0B8EDE039A for ; Tue, 15 Mar 2011 13:19:33 +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 9A8291B42CB for ; Tue, 15 Mar 2011 13:19:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C4F908006A for ; Tue, 15 Mar 2011 13:19:32 +0000 (UTC) From: "Tomas Chvatal" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tomas Chvatal" Message-ID: Subject: [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/ X-VCS-Repository: proj/gentoo-bumpchecker X-VCS-Files: modules/portage_module.py X-VCS-Directories: modules/ X-VCS-Committer: scarabeus X-VCS-Committer-Name: Tomas Chvatal X-VCS-Revision: e0fd4726fc2b1808a3bd8d5b99d5eb61091bde11 Date: Tue, 15 Mar 2011 13:19:32 +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: a8a01550c7a9be155af3ec44a25bc7e9 commit: e0fd4726fc2b1808a3bd8d5b99d5eb61091bde11 Author: Tomas Chvatal gentoo org> AuthorDate: Tue Mar 15 13:18:11 2011 +0000 Commit: Tomas Chvatal gentoo org> CommitDate: Tue Mar 15 13:18:11 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoo-bumpch= ecker.git;a=3Dcommit;h=3De0fd4726 Fix the stable detection to really work. --- modules/portage_module.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/portage_module.py b/modules/portage_module.py index 89fed55..7aac61f 100644 --- a/modules/portage_module.py +++ b/modules/portage_module.py @@ -95,10 +95,12 @@ def find_packages_in_tree(package_list, portdir=3DNon= e, all_overlays=3DFalse, overla keywords =3D 'amd64 ~amd64' # the arch I care for :] =20 if portdir is not None: - mysettings =3D portage.config(env=3D{'PORTDIR_OVERLAY': overlays= , 'ACCEPT_KEYWORDS': keywords, 'PORTDIR': portdir}) + mysettings =3D portage.config(local_config=3DFalse, env=3D{'PORT= DIR_OVERLAY': overlays, 'ACCEPT_KEYWORDS': keywords, 'PORTDIR': portdir}) else: - mysettings =3D portage.config(env=3D{'PORTDIR_OVERLAY': overlays= , 'ACCEPT_KEYWORDS': keywords}) + mysettings =3D portage.config(local_config=3DFalse, env=3D{'PORT= DIR_OVERLAY': overlays, 'ACCEPT_KEYWORDS': keywords}) =20 + # hack because the above did not work :/ + mysettings['ACCEPT_KEYWORDS'] =3D keywords portdbapi =3D portage.portdbapi(mysettings=3Dmysettings) =20 for package in package_list: