From: Jason Stubbs Date: Fri, 30 Dec 2005 06:37:05 +0000 (-0000) Subject: Convert digest failure information to strings for printing. X-Git-Tag: v2.1_pre3~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=733f975947ccef724cc2344f5e036c9e7ff1f5a8;p=portage.git Convert digest failure information to strings for printing. svn path=/main/trunk/; revision=2496 --- diff --git a/pym/portage.py b/pym/portage.py index aa99c1c1c..1254c7d62 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2288,8 +2288,8 @@ def digestCheckFiles(myfiles, mydigests, basedir, note="", strict=0): print red("!!! Digest verification Failed:") print red("!!!")+" "+str(myfile) print red("!!! Reason: ")+reason[0] - print red("!!! Got: ")+reason[1] - print red("!!! Expected: ")+reason[2] + print red("!!! Got: ")+str(reason[1]) + print red("!!! Expected: ")+str(reason[2]) print return 0 else: