summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index a4e042e58..fd2f13640 100644
--- 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])