From 9fde774720c2552e187f58a6395e40fe12dd88cd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 7 Sep 2009 02:54:36 +0000 Subject: [PATCH] In catpkgsplit(), use split('/', 1) since there should never be more than on slash to split. svn path=/main/trunk/; revision=14210 --- pym/portage/versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/versions.py b/pym/portage/versions.py index 8a3fe0d07..abd85d273 100644 --- a/pym/portage/versions.py +++ b/pym/portage/versions.py @@ -271,7 +271,7 @@ def catpkgsplit(mydata,silent=1): return catcache[mydata] except KeyError: pass - mysplit=mydata.split("/") + mysplit = mydata.split('/', 1) p_split=None if len(mysplit)==1: retval=["null"] -- 2.26.2