summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9ea1cc636..171ecba2f 100644
--- a/pym/portage_checksum.py
+++ b/pym/portage_checksum.py
@@ -142,7 +142,7 @@ def perform_checksum(filename, hashname="MD5", calc_prelink=0):
myhash, mysize = hashfunc_map[hashname](myfilename)
except (OSError, IOError), e:
if e.errno == errno.ENOENT:
- raise portage_exception.FileNotFound(e)
+ raise portage_exception.FileNotFound(myfilename)
else:
raise e
if calc_prelink and prelink_capable: