From 733f975947ccef724cc2344f5e036c9e7ff1f5a8 Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Fri, 30 Dec 2005 06:37:05 +0000 Subject: [PATCH] Convert digest failure information to strings for printing. svn path=/main/trunk/; revision=2496 --- pym/portage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.26.2