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 1PrGRF-0007Wj-7A for garchives@archives.gentoo.org; Sun, 20 Feb 2011 21:03:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CFB0BE0123; Sun, 20 Feb 2011 21:03:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A23AA1C09C for ; Sun, 20 Feb 2011 21:03:21 +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 269951B418E for ; Sun, 20 Feb 2011 21:03:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 81A3E8006A for ; Sun, 20 Feb 2011 21:03:20 +0000 (UTC) From: "Nirbheek Chauhan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nirbheek Chauhan" 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: nirbheek X-VCS-Committer-Name: Nirbheek Chauhan X-VCS-Revision: b942550ba08d76eaab1e0f81c626bd501cf340e0 Date: Sun, 20 Feb 2011 21:03:20 +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: 78e6e6084a83c9fc34d402e3a065be14 commit: b942550ba08d76eaab1e0f81c626bd501cf340e0 Author: Nirbheek Chauhan gentoo org> AuthorDate: Sun Feb 20 21:01:14 2011 +0000 Commit: Nirbheek Chauhan gentoo org> CommitDate: Sun Feb 20 21:01:14 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoo-bumpch= ecker.git;a=3Dcommit;h=3Db942550b Fix all_overlays =3D True and selection of keywords --- modules/portage_module.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/portage_module.py b/modules/portage_module.py index 2d2b7d7..89fed55 100644 --- a/modules/portage_module.py +++ b/modules/portage_module.py @@ -80,6 +80,7 @@ def find_packages_in_tree(package_list, portdir=3DNone,= all_overlays=3DFalse, overla #overlays =3D ["/home/allanon/cvs/gnome"] =20 portage_versions =3D [] + overlays =3D portage.settings['PORTDIR_OVERLAY'] =20 if all_overlays is False: overlays =3D '' @@ -94,9 +95,9 @@ def find_packages_in_tree(package_list, portdir=3DNone,= 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= , 'KEYWORDS': keywords, 'PORTDIR': portdir}) + mysettings =3D portage.config(env=3D{'PORTDIR_OVERLAY': overlays= , 'ACCEPT_KEYWORDS': keywords, 'PORTDIR': portdir}) else: - mysettings =3D portage.config(env=3D{'PORTDIR_OVERLAY': overlays= , 'KEYWORDS': keywords}) + mysettings =3D portage.config(env=3D{'PORTDIR_OVERLAY': overlays= , 'ACCEPT_KEYWORDS': keywords}) =20 portdbapi =3D portage.portdbapi(mysettings=3Dmysettings) =20