mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-13 04:11:07 +00:00
Handle single architecture testing-proposed-updates update.
This commit is contained in:
parent
b0ef0af348
commit
da94ff9457
@ -1814,7 +1814,9 @@ class Britney:
|
||||
if pkg[0] == "-" and "/" in pkg:
|
||||
pkg_name, arch = pkg.split("/")
|
||||
pkg_name = pkg_name[1:]
|
||||
suite = "testing"
|
||||
if arch.endswith("_tpu"):
|
||||
arch, suite = arch.split("_")
|
||||
else: suite = "testing"
|
||||
# arch = "<source>/<arch>",
|
||||
elif "/" in pkg:
|
||||
pkg_name, arch = pkg.split("/")
|
||||
@ -2012,7 +2014,7 @@ class Britney:
|
||||
lundo.append((undo, pkg, suite))
|
||||
|
||||
# check the affected packages on all the architectures
|
||||
for arch in ("/" in pkg and (pkg.split("/")[1],) or architectures):
|
||||
for arch in ("/" in pkg and (pkg.split("/")[1].split("_")[0],) or architectures):
|
||||
if arch not in nobreakall_arches:
|
||||
skip_archall = True
|
||||
else: skip_archall = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user