projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0650c
)
Return tuples instead of lists from getboth functions and methods.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 23 Jul 2006 00:37:28 +0000
(
00:37
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 23 Jul 2006 00:37:28 +0000
(
00:37
-0000)
svn path=/main/trunk/; revision=4009
pym/xpak.py
patch
|
blob
|
history
diff --git
a/pym/xpak.py
b/pym/xpak.py
index 375ad22b68e0cdbcd8575137ebfa18c0e138d462..dff1ab70eaa2553e1a40e4c2e7659c23a1f43652 100644
(file)
--- a/
pym/xpak.py
+++ b/
pym/xpak.py
@@
-154,7
+154,7
@@
def getboth(infile):
myindex=myfile.read(indexsize)
mydata=myfile.read(datasize)
myfile.close()
- return
[myindex,mydata]
+ return
myindex, mydata
def listindex(myindex):
"""Print to the terminal the filenames listed in the indexglob passed in."""
@@
-417,5
+417,5
@@
class tbz2:
mydata =a.read(self.datasize)
a.close()
- return
[self.index[:],mydata]
+ return
self.index, mydata