projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a893eb
)
Fix package.mask check
author
Christian Ruppert
<idl0r@gentoo.org>
Thu, 24 Feb 2011 21:39:46 +0000
(22:39 +0100)
committer
Christian Ruppert
<idl0r@gentoo.org>
Thu, 24 Feb 2011 21:39:46 +0000
(22:39 +0100)
getmaskingstatus() returns an array so it always returned False if the array has
multiple items
pym/gentoolkit/eshowkw/keywords_content.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/eshowkw/keywords_content.py
b/pym/gentoolkit/eshowkw/keywords_content.py
index 7cf53e7682d76bad301fab018cc7d8798e136d5d..0dae2fb0709c5f93a079d08c6602ce48d1a4f048 100644
(file)
--- 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