From: "Christian Ruppert" <idl0r@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/eshowkw/
Date: Thu, 24 Feb 2011 21:41:07 +0000 (UTC) [thread overview]
Message-ID: <d5f8e2ac1754a42e9a5edcd2ebb4fa30e3134e5b.idl0r@gentoo> (raw)
commit: d5f8e2ac1754a42e9a5edcd2ebb4fa30e3134e5b
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 24 21:39:46 2011 +0000
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 21:39:46 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=d5f8e2ac
Fix package.mask check
getmaskingstatus() returns an array so it always returned False if the array 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 = port.config(local_config=False)
- if port.getmaskingstatus(cpv, settings=mysettings) == ['package.mask']:
+ if "package.mask" in port.getmaskingstatus(cpv, settings=mysettings):
return True
except:
# occurs when package is not known by portdb
next reply other threads:[~2011-02-24 21:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-24 21:41 Christian Ruppert [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-02-24 21:49 [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/eshowkw/ Christian Ruppert
2011-02-25 2:23 Brian Dolbec
2011-02-25 2:23 Brian Dolbec
2011-05-16 16:40 Brian Dolbec
2011-05-29 10:59 Christian Ruppert
2012-04-11 15:01 Paul Varner
2012-05-08 21:06 Paul Varner
2012-05-16 21:59 Paul Varner
2015-08-09 20:14 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d5f8e2ac1754a42e9a5edcd2ebb4fa30e3134e5b.idl0r@gentoo \
--to=idl0r@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox