From e7b5339eaebe15ea3a87bf377c514c9ce85c32df Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 22 Jul 2018 21:18:49 +0000 Subject: [PATCH] britney.py: Replace an instance of 'pu'/'tpu' hardcoding Signed-off-by: Niels Thykier --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index fb95547..5d134f0 100755 --- a/britney.py +++ b/britney.py @@ -1388,7 +1388,7 @@ class Britney(object): blocked['block'] = hint excuse.add_hint(hint) break - if suite_name in ('pu', 'tpu'): + if source_suite.suite_class.is_additional_source: blocked['block'] = '%s-block' % (suite_name) excuse.needs_approval = True