summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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])