summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-09-04 03:59:43 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-09-04 03:59:43 +0200
commit7614c3c1b33441c785cc204b7d47529ed8f9c473 (patch)
tree4a2b4bc8364872e6a60a81e16ee86d625b81e220 /portato/backend
parent7191bedb01980674fc99ee5a29042c90a0177101 (diff)
downloadportato-7614c3c1b33441c785cc204b7d47529ed8f9c473.tar.gz
portato-7614c3c1b33441c785cc204b7d47529ed8f9c473.tar.bz2
portato-7614c3c1b33441c785cc204b7d47529ed8f9c473.zip
Fix system.split_cpv
Diffstat (limited to '')
-rw-r--r--portato/backend/portage/system.py6
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):