From a11f4f6cfed3a410a738e6cadfc48a410652da87 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Tue, 21 Sep 2010 08:41:17 +0000 Subject: [PATCH] Ignore arch:all packages when checking t-p-u readiness Signed-off-by: Adam D. Barratt --- britney.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/britney.py b/britney.py index c713d18..fa71086 100755 --- a/britney.py +++ b/britney.py @@ -1307,8 +1307,8 @@ class Britney: # this architecture then it is ok if not src in self.sources["testing"] or \ - (len([x for x in self.sources["testing"][src][BINARIES] if x.endswith("/"+arch)]) == 0) or \ - (len([x for x in self.sources[suite][src][BINARIES] if x.endswith("/"+arch)]) > 0): + (len([x for x in self.sources["testing"][src][BINARIES] if x.endswith("/"+arch) and self.binaries["testing"][arch][0][x.split("/")[0]][ARCHITECTURE] != 'all' ]) == 0) or \ + (len([x for x in self.sources[suite][src][BINARIES] if x.endswith("/"+arch) and self.binaries[suite][arch][0][x.split("/")[0]][ARCHITECTURE] != 'all' ]) > 0): continue text = "Not yet built on %s (relative to testing)" % (urllib.quote(arch), urllib.quote(src), urllib.quote(source_u[VERSION]), arch)