projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b606258
)
For compatibility, return a tuple of 3 when an OSError is raised in portage_checksum...
author
Zac Medico
<zmedico@gentoo.org>
Sun, 9 Apr 2006 08:28:05 +0000
(08:28 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 9 Apr 2006 08:28:05 +0000
(08:28 -0000)
svn path=/main/trunk/; revision=3105
pym/portage_checksum.py
patch
|
blob
|
history
diff --git
a/pym/portage_checksum.py
b/pym/portage_checksum.py
index 171ecba2fb9ae8cdc0c058f5a1436225023a0ff1..38a064aa2fe52a242314621484211cfc1367aaf6 100644
(file)
--- a/
pym/portage_checksum.py
+++ b/
pym/portage_checksum.py
@@
-94,7
+94,7
@@
def verify_all(filename, mydict, calc_prelink=0, strict=0):
if mydict["size"] != mysize:
return False,("Filesize does not match recorded size", mysize, mydict["size"])
except OSError, e:
- return False,
str(
e)
+ return False,
(str(e), None, Non
e)
for x in mydict.keys():
if x == "size":
continue