From 19a7792982dadc4a2c0ed2011a16f204ab3d3f96 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Thu, 28 Oct 2010 19:40:38 +0000 Subject: [PATCH] Correctly handle binNMUs in t-p-u Signed-off-by: Adam D. Barratt "${pkg}/${arch}_tpu" means "the tpu binary packages for $pkg on architecture $arch", not "the unstable binary packages for $pkg on architecture ${arch}_tpu" --- britney.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/britney.py b/britney.py index fa71086..7e31c90 100755 --- a/britney.py +++ b/britney.py @@ -2001,7 +2001,9 @@ class Britney: # arch = "/", elif "/" in pkg: pkg_name, arch = pkg.split("/") - suite = "unstable" + if arch.endswith("_tpu"): + arch, suite = arch.split("_") + else: suite = "unstable" # removal of source packages = "-", elif pkg[0] == "-": pkg_name = pkg[1:]