projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
594ac89
)
Return a tuple from searchindex instead of a list.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 23 Jul 2006 00:31:32 +0000
(
00:31
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 23 Jul 2006 00:31:32 +0000
(
00:31
-0000)
svn path=/main/trunk/; revision=4008
pym/xpak.py
patch
|
blob
|
history
diff --git
a/pym/xpak.py
b/pym/xpak.py
index 9c2907ff9da5e2edd754115d86bd650748259681..375ad22b68e0cdbcd8575137ebfa18c0e138d462 100644
(file)
--- a/
pym/xpak.py
+++ b/
pym/xpak.py
@@
-185,7
+185,7
@@
def searchindex(myindex,myitem):
#found
datapos=decodeint(myindex[startpos+4+mytestlen:startpos+8+mytestlen]);
datalen=decodeint(myindex[startpos+8+mytestlen:startpos+12+mytestlen]);
- return
[datapos,datalen]
+ return
datapos, datalen
startpos=startpos+mytestlen+12
def getitem(myid,myitem):