summaryrefslogtreecommitdiff
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
parentupdate with multi-hash stuff and verbose digest errormessages, remove some no... (diff)
downloadportage-multirepo-0ad3ec895c1456913d3917f0409621e60c3be98f.tar.gz
portage-multirepo-0ad3ec895c1456913d3917f0409621e60c3be98f.tar.bz2
portage-multirepo-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 75579f37..9e5d44b7 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