summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
authornecoro <>2007-01-16 23:00:38 +0000
committernecoro <>2007-01-16 23:00:38 +0000
commit957df064bfbac3d74d5c8b2876bd9e7e2db46c03 (patch)
tree5a88327bc061ebd29e3355c43c5001b2568b85de /portato/backend
parent301d7c0de6be98e1201df0b3041c6640efd8e84c (diff)
downloadportato-957df064bfbac3d74d5c8b2876bd9e7e2db46c03.tar.gz
portato-957df064bfbac3d74d5c8b2876bd9e7e2db46c03.tar.bz2
portato-957df064bfbac3d74d5c8b2876bd9e7e2db46c03.zip
Bug fixes
Diffstat (limited to 'portato/backend')
-rw-r--r--portato/backend/portage_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/backend/portage_helper.py b/portato/backend/portage_helper.py
index 7fc6c34..6cfe25a 100644
--- a/portato/backend/portage_helper.py
+++ b/portato/backend/portage_helper.py
@@ -278,7 +278,7 @@ def split_package_name (name):
@returns: list: [category, name, version, rev] whereby rev is "r0" if not specified in the name
@rtype: string[]"""
- r = portage.catpkgsplit(name)
+ r = portage.catpkgsplit(portage.dep_getcpv(name))
if not r:
r = name.split("/")
if len(r) == 1: