From 1463b4a1d511bfa0cc03f7cc618c1a964a55b98f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 9 Apr 2006 08:28:05 +0000 Subject: [PATCH] For compatibility, return a tuple of 3 when an OSError is raised in portage_checksum.verify_all() svn path=/main/trunk/; revision=3105 --- pym/portage_checksum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2