summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
Diffstat (limited to 'portato/backend')
-rw-r--r--portato/backend/portage/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/portato/backend/portage/package.py b/portato/backend/portage/package.py
index 0f4dffe..502ee2b 100644
--- a/portato/backend/portage/package.py
+++ b/portato/backend/portage/package.py
@@ -117,7 +117,8 @@ class PortagePackage (Package):
def is_masked (self, use_changed = True):
# things with bad EAPI are _always_ masked
- if any(x.startswith("EAPI") for x in self._status): return True
+ if self._status and any(x.startswith("EAPI") for x in self._status):
+ return True
if use_changed:
status = flags.new_masking_status(self.get_cpv())