* [gentoo-commits] gentoolkit r501 - in trunk: . src/gentoolkit
@ 2008-07-22 18:29 Paul Varner (fuzzyray)
0 siblings, 0 replies; only message in thread
From: Paul Varner (fuzzyray) @ 2008-07-22 18:29 UTC (permalink / raw
To: gentoo-commits
Author: fuzzyray
Date: 2008-07-22 18:29:31 +0000 (Tue, 22 Jul 2008)
New Revision: 501
Modified:
trunk/ChangeLog
trunk/src/gentoolkit/helpers.py
Log:
Fix gentoolkit.split_package_name to work with newer portage.catpkgsplit that now returns a tuple instead of a list. (Bug 232599)
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-07-21 19:00:07 UTC (rev 500)
+++ trunk/ChangeLog 2008-07-22 18:29:31 UTC (rev 501)
@@ -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)
Modified: trunk/src/gentoolkit/helpers.py
===================================================================
--- trunk/src/gentoolkit/helpers.py 2008-07-21 19:00:07 UTC (rev 500)
+++ trunk/src/gentoolkit/helpers.py 2008-07-22 18:29:31 UTC (rev 501)
@@ -130,7 +130,7 @@
"""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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-22 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-22 18:29 [gentoo-commits] gentoolkit r501 - in trunk: . src/gentoolkit Paul Varner (fuzzyray)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox