projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78105e6
)
In catpkgsplit(), use split('/', 1) since there should never be more than on
author
Zac Medico
<zmedico@gentoo.org>
Mon, 7 Sep 2009 02:54:36 +0000
(
02:54
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 7 Sep 2009 02:54:36 +0000
(
02:54
-0000)
slash to split.
svn path=/main/trunk/; revision=14210
pym/portage/versions.py
patch
|
blob
|
history
diff --git
a/pym/portage/versions.py
b/pym/portage/versions.py
index 8a3fe0d073734137cd30b5dd7d7a2f13e222d4de..abd85d2731f9269706e885e55b6d882bc9bb5b20 100644
(file)
--- 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"]