diff options
Diffstat (limited to '')
-rw-r--r-- | portato/backend/portage/system.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/portato/backend/portage/system.py b/portato/backend/portage/system.py index 990a39a..030c120 100644 --- a/portato/backend/portage/system.py +++ b/portato/backend/portage/system.py @@ -235,7 +235,11 @@ class PortageSystem (SystemInterface): return filter(self.find_lambda(name), categories) def split_cpv (self, cpv): - cpv = portage.dep_getcpv(cpv) + try: + cpv = portage.dep_getcpv(cpv) + except portage.exception.InvalidAtom: + pass + return portage.catpkgsplit(cpv) def sort_package_list(self, pkglist, only_cpv = False): |