summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-07 02:54:36 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-07 02:54:36 +0000
commit9fde774720c2552e187f58a6395e40fe12dd88cd (patch)
tree3ecdbeb492c30317268823973e9243303b852437
parent78105e61390154172c99b4a426f6a2a75cb0b180 (diff)
downloadportage-9fde774720c2552e187f58a6395e40fe12dd88cd.tar.gz
portage-9fde774720c2552e187f58a6395e40fe12dd88cd.tar.bz2
portage-9fde774720c2552e187f58a6395e40fe12dd88cd.zip
In catpkgsplit(), use split('/', 1) since there should never be more than on
slash to split. svn path=/main/trunk/; revision=14210
-rw-r--r--pym/portage/versions.py2
1 files changed, 1 insertions, 1 deletions
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"]