From a505563f05595a16c5c63f232a7f77b1aeb2cbbe Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Wed, 18 Sep 2013 10:52:49 +0200 Subject: [PATCH] daklib/policy.py: Fall back to source component from pool file Signed-off-by: Tollef Fog Heen --- daklib/policy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daklib/policy.py b/daklib/policy.py index aeed9a2c..94aa7b63 100644 --- a/daklib/policy.py +++ b/daklib/policy.py @@ -290,6 +290,9 @@ class PolicyQueueUploadHandler(object): if self._source_override(component) is not None: source_component = component break + # Fall back to the one from the pool file + source_component = source.poolfile.component.component_name + break if source is not None: override = self._source_override(source_component) -- 2.39.5