summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-05-18 12:54:28 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-05-18 12:54:28 +0200
commite3a855888fe6783056087357c050ee2581e57e6c (patch)
tree443a6da1c9406e536b61d715e2d75a49dbc175a3
parent6e33bd8b7b3215d51f0b14e30d911620f717d68d (diff)
downloadportato-e3a855888fe6783056087357c050ee2581e57e6c.tar.gz
portato-e3a855888fe6783056087357c050ee2581e57e6c.tar.bz2
portato-e3a855888fe6783056087357c050ee2581e57e6c.zip
Fix #2
Diffstat (limited to '')
-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())