mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 05:57:28 +00:00
Only flag an out-of-date package as possible NBS if the out-of-date version is also the maximum version across all architectures.
This commit is contained in:
parent
18edacf8b2
commit
02e9779d35
@ -1512,10 +1512,12 @@ class Britney(object):
|
|||||||
oodtxt = ""
|
oodtxt = ""
|
||||||
for v in oodbins.keys():
|
for v in oodbins.keys():
|
||||||
if oodtxt: oodtxt = oodtxt + "; "
|
if oodtxt: oodtxt = oodtxt + "; "
|
||||||
if source_t and same_source(source_t[VERSION], v):
|
|
||||||
maybe_nbs = ""
|
maybe_nbs = ""
|
||||||
else:
|
if not source_t or same_source(source_t[VERSION], v):
|
||||||
|
for pkg in oodbins[v]:
|
||||||
|
if self.__maxver(pkg, suite) == v:
|
||||||
maybe_nbs = "; NBS?"
|
maybe_nbs = "; NBS?"
|
||||||
|
break
|
||||||
oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/ubuntu/+source/" \
|
oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/ubuntu/+source/" \
|
||||||
"%s/%s\" target=\"_blank\">%s</a>%s)" % \
|
"%s/%s\" target=\"_blank\">%s</a>%s)" % \
|
||||||
(", ".join(sorted(oodbins[v])), urllib.quote(src.split("/")[0]), urllib.quote(v), v, maybe_nbs)
|
(", ".join(sorted(oodbins[v])), urllib.quote(src.split("/")[0]), urllib.quote(v), v, maybe_nbs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user