mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-12 23:17:03 +00:00
Don't check implict depends when build is missing
This commit is contained in:
parent
a667250cef
commit
e2b196dd4b
@ -1638,6 +1638,14 @@ class ImplicitDependencyPolicy(BasePolicy):
|
|||||||
# this item is not currently in testing: no implicit dependency
|
# this item is not currently in testing: no implicit dependency
|
||||||
return verdict
|
return verdict
|
||||||
|
|
||||||
|
if excuse.hasreason("missingbuild"):
|
||||||
|
# if the build is missing, the policy would treat this as if the
|
||||||
|
# binaries would be removed, which would give incorrect (and
|
||||||
|
# confusing) info
|
||||||
|
info = "missing build, not checking implict dependencies on %s" % (arch)
|
||||||
|
excuse.add_detailed_info(info)
|
||||||
|
return verdict
|
||||||
|
|
||||||
source_suite = item.suite
|
source_suite = item.suite
|
||||||
source_name = item.package
|
source_name = item.package
|
||||||
target_suite = self.suite_info.target_suite
|
target_suite = self.suite_info.target_suite
|
||||||
|
Loading…
x
Reference in New Issue
Block a user