projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a96200f
)
Return copies of the cached values from pkgsplit and catpkgsplit. (trunk r6746)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Jun 2007 20:01:55 +0000
(20:01 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Jun 2007 20:01:55 +0000
(20:01 -0000)
svn path=/main/branches/2.1.2/; revision=6763
pym/portage_versions.py
patch
|
blob
|
history
diff --git
a/pym/portage_versions.py
b/pym/portage_versions.py
index 7ed7712d2cf0270ff063d6b312be58304e38d049..52db5e747d96d9f6c43a19796c2a555094c1aa39 100644
(file)
--- a/
pym/portage_versions.py
+++ b/
pym/portage_versions.py
@@
-245,7
+245,7
@@
def pkgsplit(mypkg,silent=1):
#names can't have versiony looking parts
myval=["-".join(myparts[:verPos]),myparts[verPos],revision]
pkgcache[mypkg]=myval
- return myval
+ return myval
[:]
else:
pkgcache[mypkg]=None
return None
@@
-295,7
+295,7
@@
def catpkgsplit(mydata,silent=1):
return None
retval.extend(p_split)
catcache[mydata]=retval
- return retval
+ return retval
[:]
def catsplit(mydep):
return mydep.split("/", 1)