From: Marius Mauch Date: Tue, 20 Dec 2005 01:37:09 +0000 (-0000) Subject: update to work with the verbose error messages X-Git-Tag: v2.1_pre2~27 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0ad3ec895c1456913d3917f0409621e60c3be98f;p=portage.git update to work with the verbose error messages svn path=/main/trunk/; revision=2414 --- 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