summaryrefslogtreecommitdiffstats
path: root/pym/portage_checksum.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-09 08:28:05 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-09 08:28:05 +0000
commit1463b4a1d511bfa0cc03f7cc618c1a964a55b98f (patch)
tree99609f8bec508c655f6c3149b462f8ad91f9e592 /pym/portage_checksum.py
parentb6062584a56306404517942c55087711983034f1 (diff)
downloadportage-1463b4a1d511bfa0cc03f7cc618c1a964a55b98f.tar.gz
portage-1463b4a1d511bfa0cc03f7cc618c1a964a55b98f.tar.bz2
portage-1463b4a1d511bfa0cc03f7cc618c1a964a55b98f.zip
For compatibility, return a tuple of 3 when an OSError is raised in portage_checksum.verify_all()
svn path=/main/trunk/; revision=3105
Diffstat (limited to 'pym/portage_checksum.py')
-rw-r--r--pym/portage_checksum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_checksum.py b/pym/portage_checksum.py
index 171ecba2f..38a064aa2 100644
--- 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, None)
for x in mydict.keys():
if x == "size":
continue