From da94ff9457411d86e58ed46176d06cb4d0914949 Mon Sep 17 00:00:00 2001 From: Fabio Tranchitella Date: Sun, 6 Aug 2006 19:01:06 +0000 Subject: [PATCH] Handle single architecture testing-proposed-updates update. --- britney.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/britney.py b/britney.py index 6861e40..7be7e5f 100644 --- a/britney.py +++ b/britney.py @@ -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 = "/", 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