From: Tollef Fog Heen Date: Wed, 18 Sep 2013 08:52:49 +0000 (+0200) Subject: daklib/policy.py: Fall back to source component from pool file X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a505563f05595a16c5c63f232a7f77b1aeb2cbbe;p=dak daklib/policy.py: Fall back to source component from pool file Signed-off-by: Tollef Fog Heen --- 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)