summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2006-03-25 00:18:19 +0000
committerMarius Mauch <genone@gentoo.org>2006-03-25 00:18:19 +0000
commit5531d488cfa7b8ae115a7364dd913ead6dd3fa64 (patch)
treed6867b9ea7b19425332e06d7d16566e03e108a5f
parentb649d3e9234448c83f94d90fef0c681c227a1d2f (diff)
downloadportage-5531d488cfa7b8ae115a7364dd913ead6dd3fa64.tar.gz
portage-5531d488cfa7b8ae115a7364dd913ead6dd3fa64.tar.bz2
portage-5531d488cfa7b8ae115a7364dd913ead6dd3fa64.zip
FileNotFoundException should be used with the filename
svn path=/main/trunk/; revision=2995
-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: