From da0650c1799035022f136e45c6de2e85d9e7508f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 23 Jul 2006 00:31:32 +0000 Subject: [PATCH] Return a tuple from searchindex instead of a list. svn path=/main/trunk/; revision=4008 --- pym/xpak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2