diff --git a/britney.py b/britney.py index 8bcb3b6..3c9d10c 100755 --- a/britney.py +++ b/britney.py @@ -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()