projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2db052
)
Catch FileNotFound exception and print a message when a file listed in the Manifest...
author
Zac Medico
<zmedico@gentoo.org>
Mon, 8 May 2006 06:24:29 +0000
(06:24 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 8 May 2006 06:24:29 +0000
(06:24 -0000)
svn path=/main/trunk/; revision=3331
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 177c78edaff85752c2c95cd5e1ecbb205cf8a532..1b70f5e59a618b62c3931e6d896b2eb2cddaccd3 100644
(file)
--- 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])