mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 15:37:02 +00:00
Simplify the method of removing broken arch packages from the main list
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
parent
462e3c050d
commit
654a4c2752
@ -2499,7 +2499,7 @@ class Britney:
|
||||
archpackages = {}
|
||||
for a in self.options.break_arches.split():
|
||||
archpackages[a] = [p for p in normpackages if p.endswith("/" + a) or p.endswith("/" + a + "_tpu")]
|
||||
normpackages = [p for p in normpackages if not (p.endswith("/" + a) or p.endswith("/" + a + "_tpu"))]
|
||||
normpackages = [p for p in normpackages if p not in archpackages[a]]
|
||||
self.upgrade_me = normpackages
|
||||
self.output_write("info: main run\n")
|
||||
self.do_all()
|
||||
|
Loading…
x
Reference in New Issue
Block a user