From a767b0167a7ed2bda154a200114187fabbaae207 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Mon, 24 Sep 2012 23:31:38 +0200 Subject: [PATCH] daklib/policy.py: don't list missing overrides for each arch If an upload include binary packages for multiple architectures, dak should only display (and add) the missing overrides once. --- daklib/policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/policy.py b/daklib/policy.py index d4bd4a81..151cc9b6 100644 --- a/daklib/policy.py +++ b/daklib/policy.py @@ -255,7 +255,7 @@ class PolicyQueueUploadHandler(object): if section.find('/') != -1: component = section.split('/', 1)[0] override = self._binary_override(binary, component) - if override is None: + if override is None and not any(o['package'] == binary.package and o['type'] == binary.binarytype for o in missing): hint = hints_map.get((binary.binarytype, binary.package)) if hint is not None: missing.append(hint) -- 2.39.5