summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pym/gentoolkit/eshowkw/keywords_content.py2
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