projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29fdcf8
)
Make xsplit() return False on failure and True on success for bug #141445.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 22 Jul 2006 23:37:23 +0000
(23:37 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 22 Jul 2006 23:37:23 +0000
(23:37 -0000)
svn path=/main/trunk/; revision=4006
pym/xpak.py
patch
|
blob
|
history
diff --git
a/pym/xpak.py
b/pym/xpak.py
index 46cdfd8dfe8717be315872377b7135989640357d..9c2907ff9da5e2edd754115d86bd650748259681 100644
(file)
--- a/
pym/xpak.py
+++ b/
pym/xpak.py
@@
-110,7
+110,7
@@
def xsplit(infile):
splits = xsplit_mem(mydat)
if not splits:
- return
+ return
False
myfile=open(infile+".index","w")
myfile.write(splits[0])
@@
-118,7
+118,7
@@
def xsplit(infile):
myfile=open(infile+".dat","w")
myfile.write(splits[1])
myfile.close()
- return
+ return
True
def xsplit_mem(mydat):
if mydat[0:8]!="XPAKPACK":