Browse Source

switch no binaries to detailed excuse info

devuan-deployment
Ivo De Decker 1 year ago
parent
commit
63a9d786a8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      britney2/excusefinder.py

+ 2
- 2
britney2/excusefinder.py View File

@@ -468,9 +468,9 @@ class ExcuseFinder(object):

# if the source package has no binaries, set is_valid to False to block the update
if not source_u.binaries:
excuse.addhtml("%s has no binaries on any arch" % src)
excuse.addreason("no-binaries")
excuse.policy_verdict = PolicyVerdict.REJECTED_PERMANENTLY
excuse.add_verdict_info(excuse.policy_verdict, "%s has no binaries on any arch" % src)
excuse.addreason("no-binaries")

self._policy_engine.apply_src_policies(item, source_t, source_u, excuse)



Loading…
Cancel
Save