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 1Psiw0-0005bS-Bq for garchives@archives.gentoo.org; Thu, 24 Feb 2011 21:41:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC5581C001; Thu, 24 Feb 2011 21:41:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BD46C1C001 for ; Thu, 24 Feb 2011 21:41:08 +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 32C461B402D for ; Thu, 24 Feb 2011 21:41:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 592608006A for ; Thu, 24 Feb 2011 21:41:07 +0000 (UTC) From: "Christian Ruppert" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christian Ruppert" Message-ID: Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/eshowkw/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/eshowkw/keywords_content.py X-VCS-Directories: pym/gentoolkit/eshowkw/ X-VCS-Committer: idl0r X-VCS-Committer-Name: Christian Ruppert X-VCS-Revision: d5f8e2ac1754a42e9a5edcd2ebb4fa30e3134e5b Date: Thu, 24 Feb 2011 21:41:07 +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: 43c8dcee665df29ff9d534f9d340f8bc commit: d5f8e2ac1754a42e9a5edcd2ebb4fa30e3134e5b Author: Christian Ruppert gentoo org> AuthorDate: Thu Feb 24 21:39:46 2011 +0000 Commit: Christian Ruppert gentoo org> CommitDate: Thu Feb 24 21:39:46 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoolkit.gi= t;a=3Dcommit;h=3Dd5f8e2ac Fix package.mask check getmaskingstatus() returns an array so it always returned False if the ar= ray has multiple items --- pym/gentoolkit/eshowkw/keywords_content.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/gentoolkit/eshowkw/keywords_content.py b/pym/gentoolkit/= eshowkw/keywords_content.py index 7cf53e7..0dae2fb 100644 --- a/pym/gentoolkit/eshowkw/keywords_content.py +++ b/pym/gentoolkit/eshowkw/keywords_content.py @@ -138,7 +138,7 @@ class keywords_content: """Figure out if package is pmasked.""" try: mysettings =3D port.config(local_config=3DFalse) - if port.getmaskingstatus(cpv, settings=3Dmysettings) =3D=3D ['packag= e.mask']: + if "package.mask" in port.getmaskingstatus(cpv, settings=3Dmysetting= s): return True except: # occurs when package is not known by portdb