projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6af62c
)
Catch a KeyError and report a missing digest for bug #132410.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 6 May 2006 11:52:51 +0000
(11:52 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 6 May 2006 11:52:51 +0000
(11:52 -0000)
svn path=/main/trunk/; revision=3324
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index a4e042e581a7a9f2b907835e85042cc90976bbe1..fd2f136405b18cb8b989185b514977d2472e0c3b 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-2331,6
+2331,9
@@
def digestcheck(myfiles, mysettings, strict=0, justmanifest=0):
writemsg_stdout(">>> checking %s" % f)
mf.checkFileHashes(mf.findFile(f), f)
writemsg_stdout(okaymsg)
+ except KeyError, e:
+ writemsg("\n!!! Missing digest for %s\n" % str(e))
+ return 0
except portage_exception.DigestException, e:
writemsg("\n!!! Digest verification failed:\n")
writemsg("!!! %s\n" % e.value[0])