diff options
author | necoro <> | 2007-07-26 07:43:03 +0000 |
---|---|---|
committer | necoro <> | 2007-07-26 07:43:03 +0000 |
commit | 3fce3ad6e5f28abcb77b23f72000a3b1e5fb8b55 (patch) | |
tree | d7e72465bda1f2218b13b0ba81dfc03553f78ecd /portato/backend | |
parent | 986bced5ceb8922273cf2e3c1ddd8457363a8ccf (diff) | |
download | portato-3fce3ad6e5f28abcb77b23f72000a3b1e5fb8b55.tar.gz portato-3fce3ad6e5f28abcb77b23f72000a3b1e5fb8b55.tar.bz2 portato-3fce3ad6e5f28abcb77b23f72000a3b1e5fb8b55.zip |
changed design / added link
Diffstat (limited to '')
-rw-r--r-- | portato/backend/portage/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/portato/backend/portage/package.py b/portato/backend/portage/package.py index 4f4b618..a1bf433 100644 --- a/portato/backend/portage/package.py +++ b/portato/backend/portage/package.py @@ -42,6 +42,9 @@ class PortagePackage (Package): self._status = portage.getmaskingstatus(self.get_cpv(), settings = self._settings.settings) except KeyError: # package is not located in the system self._status = None + + if self._status and len(self._status) == 1 and self._status[0] == "corrupted": + self._status = None def is_installed(self): return self._settings.vartree.dbapi.cpv_exists(self._cpv) |