projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b360cda
)
update to work with the verbose error messages
author
Marius Mauch
<genone@gentoo.org>
Tue, 20 Dec 2005 01:37:09 +0000
(
01:37
-0000)
committer
Marius Mauch
<genone@gentoo.org>
Tue, 20 Dec 2005 01:37:09 +0000
(
01:37
-0000)
svn path=/main/trunk/; revision=2414
bin/mirror.py
patch
|
blob
|
history
diff --git
a/bin/mirror.py
b/bin/mirror.py
index 75579f37d09a117702a7f7d7a5243e844353ed71..9e5d44b72c6f404f446fdb19dc466b6f3397d8e3 100755
(executable)
--- 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