Fix substitution ordering mistake in out-of-date rendering.

This commit is contained in:
Colin Watson 2014-07-25 12:37:16 +01:00
parent 0a4f948e3a
commit 52ad167312

View File

@ -1532,7 +1532,7 @@ class Britney(object):
break break
oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/%s/+source/" \ oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/%s/+source/" \
"%s/%s\" target=\"_blank\">%s</a>%s)" % \ "%s/%s\" target=\"_blank\">%s</a>%s)" % \
(self.options.distribution, ", ".join(sorted(oodbins[v])), urllib.quote(src.split("/")[0]), urllib.quote(v), v, maybe_nbs) (", ".join(sorted(oodbins[v])), self.options.distribution, urllib.quote(src.split("/")[0]), urllib.quote(v), v, maybe_nbs)
text = "out of date on <a href=\"https://launchpad.net/%s/+source/" \ text = "out of date on <a href=\"https://launchpad.net/%s/+source/" \
"%s/%s\" target=\"_blank\">%s</a>: %s" % \ "%s/%s\" target=\"_blank\">%s</a>: %s" % \
(self.options.distribution, urllib.quote(src.split("/")[0]), urllib.quote(source_u[VERSION]), arch, oodtxt) (self.options.distribution, urllib.quote(src.split("/")[0]), urllib.quote(source_u[VERSION]), arch, oodtxt)