From 4cdd25e5171a2df889c4790f5977a79230d73e93 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Fri, 17 Sep 2010 19:33:22 +0000 Subject: [PATCH] Correctly process source packages in t-p-u Signed-off-by: Adam D. Barratt t-p-u packages are identified by the package name ending in "_tpu", not by the first character of the name doing so --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index 2ac8181..8fd53a4 100755 --- a/britney.py +++ b/britney.py @@ -1981,7 +1981,7 @@ class Britney: pkg_name = pkg[1:] suite = "testing" # testing-proposed-updates = "_tpu" - elif pkg[0].endswith("_tpu"): + elif pkg.endswith("_tpu"): pkg_name = pkg[:-4] suite = "tpu" # normal update of source packages = ""