summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trunk/ChangeLog5
-rw-r--r--trunk/src/gentoolkit/helpers.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index e0caae9..5e3cb9f 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-22: Paul Varner <fuzzyray@gentoo.org>
+ * gentoolkit: Fix gentoolkit.split_package_name to work with
+ newer portage.catpkgsplit that now returns a tuple instead of a
+ list. (Bug 232599)
+
2008-07-21: Paul Varner <fuzzyray@gentoo.org>
* revdep-rebuild: Fix filtering of masked paths from SEARCH_DIRS
variable. (Bug 232270)
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: