Fix out-of-date maximum version check to only check binaries, not sources.

bzr-import-20160707
Colin Watson 11 years ago
parent 02e9779d35
commit f81e685f99

@ -1515,7 +1515,13 @@ class Britney(object):
maybe_nbs = ""
if not source_t or same_source(source_t[VERSION], v):
for pkg in oodbins[v]:
if self.__maxver(pkg, suite) == v:
maxver = None
for other_arch in self.options.architectures:
if pkg not in self.binaries[suite][other_arch][0]: continue
pkgv = self.binaries[suite][other_arch][0][pkg][VERSION]
if maxver is None or apt_pkg.version_compare(pkgv, maxver) > 0:
maxver = pkgv
if maxver == v:
maybe_nbs = "; NBS?"
break
oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/ubuntu/+source/" \

Loading…
Cancel
Save