diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2013-01-01 16:44:33 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-01-01 16:44:33 -0800 |
commit | b6a683adf5445569e69aac53d5458a625ce33ac8 (patch) | |
tree | 00559142ce360d95beb15ad9ae77f11d558b89a1 | |
parent | 63bf20d0925ca76c98477a108a6d4c3fa8fde885 (diff) | |
download | portage-b6a683adf5445569e69aac53d5458a625ce33ac8.tar.gz portage-b6a683adf5445569e69aac53d5458a625ce33ac8.tar.bz2 portage-b6a683adf5445569e69aac53d5458a625ce33ac8.zip |
repoman: improve thirdpartymirrors output
-rwxr-xr-x | bin/repoman | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman index 92ae667e6..57ddf72fe 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1779,10 +1779,11 @@ for x in effective_scanlist: if not contains_mirror: continue + new_uri = "mirror://%s/%s" % (mirror_alias, uri[len(mirror):]) stats["SRC_URI.mirror"] += 1 fails["SRC_URI.mirror"].append( - "%s: '%s' found in thirdpartymirrors: 'mirror://%s'" % \ - (relative_path, mirror, mirror_alias)) + "%s: '%s' found in thirdpartymirrors, use '%s'" % \ + (relative_path, mirror, new_uri)) if myaux.get("PROVIDE"): stats["virtual.oldstyle"]+=1 |