summaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src')
-rw-r--r--trunk/src/gentoolkit/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/gentoolkit/helpers.py b/trunk/src/gentoolkit/helpers.py
index 2680fef..595bee3 100644
--- a/trunk/src/gentoolkit/helpers.py
+++ b/trunk/src/gentoolkit/helpers.py
@@ -130,7 +130,7 @@ def split_package_name(name):
"""Returns a list on the form [category, name, version, revision]. Revision will
be 'r0' if none can be inferred. Category and version will be empty, if none can
be inferred."""
- r = portage.catpkgsplit(name)
+ r = list(portage.catpkgsplit(name))
if not r:
r = name.split("/")
if len(r) == 1: