From 51504cbd18433ee73cf81006be3817738757076e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 8 May 2006 06:24:29 +0000 Subject: Catch FileNotFound exception and print a message when a file listed in the Manifest could not be found. svn path=/main/trunk/; revision=3331 --- pym/portage.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pym/portage.py') 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]) -- cgit v1.2.3-1-g7c22