From: Zac Medico Date: Mon, 8 May 2006 06:24:29 +0000 (-0000) Subject: Catch FileNotFound exception and print a message when a file listed in the Manifest... X-Git-Tag: v2.1_rc1~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51504cbd18433ee73cf81006be3817738757076e;p=portage.git Catch FileNotFound exception and print a message when a file listed in the Manifest could not be found. svn path=/main/trunk/; revision=3331 --- diff --git a/pym/portage.py b/pym/portage.py index 177c78eda..1b70f5e59 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2336,6 +2336,9 @@ def digestcheck(myfiles, mysettings, strict=0, justmanifest=0): except KeyError, e: writemsg("\n!!! Missing digest for %s\n" % str(e)) return 0 + except portage_exception.FileNotFound, e: + writemsg("\n!!! A file listed in the Manifest could not be found: %s\n" % str(e)) + return 0 except portage_exception.DigestException, e: writemsg("\n!!! Digest verification failed:\n") writemsg("!!! %s\n" % e.value[0])