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.
master
Adeodato Simó 17 years ago
parent b426d2a202
commit c16bb0cc20

@ -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")

Loading…
Cancel
Save