mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-09 02:01:09 +00:00
Fix out-of-date maximum version check to only check binaries, not sources.
This commit is contained in:
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…
x
Reference in New Issue
Block a user