From: Sergei Trofimovich Date: Wed, 2 Jan 2013 00:44:33 +0000 (-0800) Subject: repoman: improve thirdpartymirrors output X-Git-Tag: v2.2.0_alpha150~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b6a683adf5445569e69aac53d5458a625ce33ac8;p=portage.git repoman: improve thirdpartymirrors output --- 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