From 7f9d8ae271e3e0d79c7f90e5e4b55c4243f9c3f0 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Wed, 9 Nov 2011 22:44:31 +0000 Subject: [PATCH] "Broken architectures" fix-up Signed-off-by: Adam D. Barratt --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index eeec857..f1b3926 100755 --- a/britney.py +++ b/britney.py @@ -2379,7 +2379,7 @@ class Britney: normpackages = self.upgrade_me[:] 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") or p.endswith("/" + a + "_pu")] + archpackages[a] = [p for p in normpackages if p.architecture == a] normpackages = [p for p in normpackages if p not in archpackages[a]] self.upgrade_me = normpackages self.output_write("info: main run\n")