Convert digest failure information to strings for printing.
authorJason Stubbs <jstubbs@gentoo.org>
Fri, 30 Dec 2005 06:37:05 +0000 (06:37 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Fri, 30 Dec 2005 06:37:05 +0000 (06:37 -0000)
svn path=/main/trunk/; revision=2496

pym/portage.py

index aa99c1c1cd26501dd1fbf82107637d4413338ecb..1254c7d62f0d3bc549ddae2b491b5aab1752ea43 100644 (file)
@@ -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: