summaryrefslogtreecommitdiffstats
path: root/pym/xpak.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-23 00:31:32 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-23 00:31:32 +0000
commitda0650c1799035022f136e45c6de2e85d9e7508f (patch)
tree43c36e6425e9511f6e93c80d378d184412708dfe /pym/xpak.py
parent594ac89b6dffd87d0884d6ce1c0ab2b9beaab392 (diff)
downloadportage-da0650c1799035022f136e45c6de2e85d9e7508f.tar.gz
portage-da0650c1799035022f136e45c6de2e85d9e7508f.tar.bz2
portage-da0650c1799035022f136e45c6de2e85d9e7508f.zip
Return a tuple from searchindex instead of a list.
svn path=/main/trunk/; revision=4008
Diffstat (limited to 'pym/xpak.py')
-rw-r--r--pym/xpak.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/xpak.py b/pym/xpak.py
index 9c2907ff9..375ad22b6 100644
--- 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):