Correctly process source packages in t-p-u

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>

t-p-u packages are identified by the package name ending in "_tpu", not
by the first character of the name doing so
This commit is contained in:
Adam D. Barratt 2010-09-17 19:33:22 +00:00
parent 8795d9bd0f
commit c761168718

View File

@ -1981,7 +1981,7 @@ class Britney:
pkg_name = pkg[1:] pkg_name = pkg[1:]
suite = "testing" suite = "testing"
# testing-proposed-updates = "<source>_tpu" # testing-proposed-updates = "<source>_tpu"
elif pkg[0].endswith("_tpu"): elif pkg.endswith("_tpu"):
pkg_name = pkg[:-4] pkg_name = pkg[:-4]
suite = "tpu" suite = "tpu"
# normal update of source packages = "<source>" # normal update of source packages = "<source>"