summaryrefslogtreecommitdiffstats
path: root/pym/portage_checksum.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage_checksum.py')
-rw-r--r--pym/portage_checksum.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage_checksum.py b/pym/portage_checksum.py
index 38a064aa2..30f221532 100644
--- a/pym/portage_checksum.py
+++ b/pym/portage_checksum.py
@@ -94,6 +94,8 @@ 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:
+ if e.errno == errno.ENOENT:
+ raise portage_exception.FileNotFound(filename)
return False, (str(e), None, None)
for x in mydict.keys():
if x == "size":