From c16bb0cc2020b21bbb70c924df9bbaeb12435339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adeodato=20Sim=C3=B3?= Date: Tue, 20 May 2008 19:37:27 +0200 Subject: [PATCH] Compare version of approve hints against t-p-u and not testing. source_u is the package as found in the origin distribution, normally unstable, but t-p-u for t-p-u packages. Acked by Fabio on IRC. --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index ae1264d..7a14f2b 100644 --- a/britney.py +++ b/britney.py @@ -1328,7 +1328,7 @@ class Britney: if suite == "tpu": key = "%s_%s" % (src, source_u[VERSION]) if src in self.hints["approve"] and \ - self.same_source(source_t[VERSION], self.hints["approve"][src][0]): + self.same_source(source_u[VERSION], self.hints["approve"][src][0]): excuse.addhtml("Approved by %s" % self.hints["approve"][src][1]) else: excuse.addhtml("NEEDS APPROVAL BY RM")