projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
545e96a
)
Catch fetch_check FileNotFound exceptions for bug #129962.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 14 Apr 2006 21:39:35 +0000
(21:39 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 14 Apr 2006 21:39:35 +0000
(21:39 -0000)
svn path=/main/trunk/; revision=3148
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 815f3820d58629099a381fccd005702aafa1c9db..f53436ba0e9443252fa60cf3b5baa7320570b750 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-4820,7
+4820,12
@@
class portdbapi(dbapi):
ok = False
reason = "digest missing"
else:
- ok,reason = portage_checksum.verify_all(self.mysettings["DISTDIR"]+"/"+x, mysums[x])
+ try:
+ ok, reason = portage_checksum.verify_all(
+ os.path.join(self.mysettings["DISTDIR"], x), mysums[x])
+ except portage_exception.FileNotFound, e:
+ ok = False
+ reason = "File Not Found: '%s'" % str(e)
if not ok:
failures[x] = reason
if failures: