From: Zac Medico Date: Sun, 30 Apr 2006 09:08:50 +0000 (-0000) Subject: Print disfiles file names for bug #131774. I've removed the [ OK ] from okaymsg... X-Git-Tag: v2.1_rc1~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=157c2f4615a60c60188f3f62bb76cad7fda0981a;p=portage.git 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 --- 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])