summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/visible.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/pym/_emerge/visible.py b/pym/_emerge/visible.py
index 8e9a74440..ee74910c2 100644
--- a/pym/_emerge/visible.py
+++ b/pym/_emerge/visible.py
@@ -27,6 +27,11 @@ def visible(pkgsettings, pkg):
return False
if pkgsettings._getMissingKeywords(pkg.cpv, pkg.metadata):
return False
+ try:
+ if pkgsettings._getMissingProperties(pkg.cpv, pkg.metadata):
+ return False
+ except portage.exception.InvalidDependString:
+ return False
if pkgsettings._getMaskAtom(pkg.cpv, pkg.metadata):
return False
if pkgsettings._getProfileMaskAtom(pkg.cpv, pkg.metadata):
@@ -34,9 +39,6 @@ def visible(pkgsettings, pkg):
try:
if pkgsettings._getMissingLicenses(pkg.cpv, pkg.metadata):
return False
- if pkgsettings._getMissingProperties(pkg.cpv, pkg.metadata):
- return False
except portage.exception.InvalidDependString:
return False
return True
-