From c9148d475a9e72c7f5998a4e3f1968c990c8545c Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Fri, 4 Jan 2019 22:46:38 +0000 Subject: [PATCH] Get dependency type from variable Signed-off-by: Ivo De Decker --- britney2/policies/policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/policies/policy.py b/britney2/policies/policy.py index e8af78e..43a09d9 100644 --- a/britney2/policies/policy.py +++ b/britney2/policies/policy.py @@ -830,7 +830,7 @@ class BuildDependsPolicy(BasePolicy): # if no package can satisfy the dependency, add this information to the excuse if not packages: - excuse.addhtml("%s unsatisfiable Build-Depends(-Arch) on %s: %s" % (source_name, arch, block_txt.strip())) + excuse.addhtml("%s unsatisfiable %s on %s: %s" % (source_name, dep_type, arch, block_txt.strip())) if arch not in unsat_bd: unsat_bd[arch] = [] unsat_bd[arch].append(block_txt.strip())