projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b649d3e
)
FileNotFoundException should be used with the filename
author
Marius Mauch
<genone@gentoo.org>
Sat, 25 Mar 2006 00:18:19 +0000
(
00:18
-0000)
committer
Marius Mauch
<genone@gentoo.org>
Sat, 25 Mar 2006 00:18:19 +0000
(
00:18
-0000)
svn path=/main/trunk/; revision=2995
pym/portage_checksum.py
patch
|
blob
|
history
diff --git
a/pym/portage_checksum.py
b/pym/portage_checksum.py
index 9ea1cc636b1435ea72da9c2db4742aa3ce90afe2..171ecba2fb9ae8cdc0c058f5a1436225023a0ff1 100644
(file)
--- 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(
myfilenam
e)
else:
raise e
if calc_prelink and prelink_capable: