From 5531d488cfa7b8ae115a7364dd913ead6dd3fa64 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sat, 25 Mar 2006 00:18:19 +0000 Subject: FileNotFoundException should be used with the filename svn path=/main/trunk/; revision=2995 --- 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 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: -- cgit v1.2.3-1-g7c22