summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-30 06:37:05 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-30 06:37:05 +0000
commit733f975947ccef724cc2344f5e036c9e7ff1f5a8 (patch)
treed4ec026e8addee48348f4d3869796be58e1e7389
parent89d9943894fb32b7f9ed63017e9332367f4a5dc1 (diff)
downloadportage-733f975947ccef724cc2344f5e036c9e7ff1f5a8.tar.gz
portage-733f975947ccef724cc2344f5e036c9e7ff1f5a8.tar.bz2
portage-733f975947ccef724cc2344f5e036c9e7ff1f5a8.zip
Convert digest failure information to strings for printing.
svn path=/main/trunk/; revision=2496
-rw-r--r--pym/portage.py4
1 files 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: