Print disfiles file names for bug #131774. I've removed the [ OK ] from okaymsg...
authorZac Medico <zmedico@gentoo.org>
Sun, 30 Apr 2006 09:08:50 +0000 (09:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 30 Apr 2006 09:08:50 +0000 (09:08 -0000)
svn path=/main/trunk/; revision=3282

pym/portage.py

index 159169cd58d8d912c8a760105046984b98c262c9..11d5e398f077714e4b4294bdd2d8960a183439e4 100644 (file)
@@ -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])