summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2005-12-20 01:37:09 +0000
committerMarius Mauch <genone@gentoo.org>2005-12-20 01:37:09 +0000
commit0ad3ec895c1456913d3917f0409621e60c3be98f (patch)
tree2a9c33980e478cba0b88b095802bb452cae01efa
parentb360cdab8760659b51a52c18122ac051fc0905c8 (diff)
downloadportage-0ad3ec895c1456913d3917f0409621e60c3be98f.tar.gz
portage-0ad3ec895c1456913d3917f0409621e60c3be98f.tar.bz2
portage-0ad3ec895c1456913d3917f0409621e60c3be98f.zip
update to work with the verbose error messages
svn path=/main/trunk/; revision=2414
-rwxr-xr-xbin/mirror.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mirror.py b/bin/mirror.py
index 75579f37d..9e5d44b72 100755
--- a/bin/mirror.py
+++ b/bin/mirror.py
@@ -46,7 +46,7 @@ class fetcher(Thread):
if os.path.exists(self.destpath) and self.md5sum:
ok,reason = portage_checksum.verify_all(self.destpath, md5sum)
if not ok:
- portage_util.writemsg("Failed verification:" + reason + "\n")
+ portage_util.writemsg("Failed verification:"+reason[0]+" (got "+reason[1]+", expected "+reason[2]+"\n")
return 1
return 0