diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-05-08 06:24:29 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-05-08 06:24:29 +0000 |
commit | 51504cbd18433ee73cf81006be3817738757076e (patch) | |
tree | f952eb85a0cc23247c5fcc6702701f295ebc837d | |
parent | a2db052c318100cd42aae5c9abaf3ca2676c6a32 (diff) | |
download | portage-51504cbd18433ee73cf81006be3817738757076e.tar.gz portage-51504cbd18433ee73cf81006be3817738757076e.tar.bz2 portage-51504cbd18433ee73cf81006be3817738757076e.zip |
Catch FileNotFound exception and print a message when a file listed in the Manifest could not be found.
svn path=/main/trunk/; revision=3331
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 3 insertions, 0 deletions
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]) |