mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-21 07:21:30 +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 = ""
|
maybe_nbs = ""
|
||||||
if not source_t or same_source(source_t[VERSION], v):
|
if not source_t or same_source(source_t[VERSION], v):
|
||||||
for pkg in oodbins[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?"
|
maybe_nbs = "; NBS?"
|
||||||
break
|
break
|
||||||
oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/ubuntu/+source/" \
|
oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/ubuntu/+source/" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user