mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-12 20:01:08 +00:00
switch newer in testing to detailed excuse info
Also, set verdict to REJECTED_PERMANENTLY explicitly. This was already done implicitly, because that is the default and it was never set to anything else.
This commit is contained in:
parent
90cb743410
commit
cda4655b83
@ -356,7 +356,8 @@ class ExcuseFinder(object):
|
||||
|
||||
# if the version in unstable is older, then stop here with a warning in the excuse and return False
|
||||
if source_t and apt_pkg.version_compare(source_u.version, source_t.version) < 0:
|
||||
excuse.addhtml("ALERT: %s is newer in the target suite (%s %s)" % (src, source_t.version, source_u.version))
|
||||
excuse.policy_verdict = PolicyVerdict.REJECTED_PERMANENTLY
|
||||
excuse.add_verdict_info(excuse.policy_verdict, "ALERT: %s is newer in the target suite (%s %s)" % (src, source_t.version, source_u.version))
|
||||
self.excuses[excuse.name] = excuse
|
||||
excuse.addreason("newerintesting")
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user