britney.py: Replace an instance of 'pu'/'tpu' hardcoding

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 7 years ago
parent 7ed3568eca
commit e7b5339eae

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

Loading…
Cancel
Save