From: Zac Medico Date: Wed, 8 Feb 2012 16:35:50 +0000 (-0800) Subject: repoman: normalize thirdpartymirrors trailing / X-Git-Tag: v2.2.0_alpha86~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d4b444be9e89ac25f6919e95b3d7c775e1af212;p=portage.git repoman: normalize thirdpartymirrors trailing / --- diff --git a/bin/repoman b/bin/repoman index bee6661db..e54967d80 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1171,7 +1171,10 @@ check_ebuild_notadded = not \ # Build a regex from thirdpartymirrors for the SRC_URI.mirror check. thirdpartymirrors = [] for v in repoman_settings.thirdpartymirrors().values(): - thirdpartymirrors.extend(v) + for v in v: + if not v.endswith("/"): + v += "/" + thirdpartymirrors.append(v) class _MetadataTreeBuilder(xml.etree.ElementTree.TreeBuilder): """