summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-30 09:08:50 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-30 09:08:50 +0000
commit157c2f4615a60c60188f3f62bb76cad7fda0981a (patch)
tree32264ae6d5307aa4a32442705b19182d6da0bf60
parent5538a4f273c845fab6012d8e8ca6fa9102bc3d6b (diff)
downloadportage-157c2f4615a60c60188f3f62bb76cad7fda0981a.tar.gz
portage-157c2f4615a60c60188f3f62bb76cad7fda0981a.tar.bz2
portage-157c2f4615a60c60188f3f62bb76cad7fda0981a.zip
Print disfiles file names for bug #131774. I've removed the [ OK ] from okaymsg because the wink makes it redundant.
svn path=/main/trunk/; revision=3282
-rw-r--r--pym/portage.py15
1 files changed, 6 insertions, 9 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 159169cd5..11d5e398f 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2271,24 +2271,21 @@ def digestcheck(myfiles, mysettings, strict=0, justmanifest=0):
if strict:
return 0
mf = Manifest(pkgdir, mysettings["DISTDIR"])
- codes = output.codes
- okaymsg = "%s[%s %sOK%s %s]%s\n" % (codes["BRACKET"], codes["reset"],
- codes["GOOD"], codes["reset"], codes["BRACKET"], codes["reset"])
- mywidth = 33
+ okaymsg = " ;-)\n"
try:
- writemsg_stdout(">>> checking ebuild checksums ;-)".ljust(mywidth))
+ writemsg_stdout(">>> checking ebuild checksums")
mf.checkTypeHashes("EBUILD")
writemsg_stdout(okaymsg)
- writemsg_stdout(">>> checking auxfile checksums ;-)".ljust(mywidth))
+ writemsg_stdout(">>> checking auxfile checksums")
mf.checkTypeHashes("AUX")
writemsg_stdout(okaymsg)
- writemsg_stdout(">>> checking miscfile checksums ;-)".ljust(mywidth))
+ writemsg_stdout(">>> checking miscfile checksums")
mf.checkTypeHashes("MISC", ignoreMissingFiles=True)
writemsg_stdout(okaymsg)
- writemsg_stdout(">>> checking distfiles checksums ;-)".ljust(mywidth))
for f in myfiles:
+ writemsg_stdout(">>> checking %s" % f)
mf.checkFileHashes(mf.findFile(f), f)
- writemsg_stdout(okaymsg)
+ writemsg_stdout(okaymsg)
except portage_exception.DigestException, e:
writemsg("\n!!! Digest verification failed:\n")
writemsg("!!! %s\n" % e.value[0])