From: Ansgar Burchardt Date: Sat, 19 Dec 2015 13:16:46 +0000 (+0100) Subject: Also fallback to component from binary for non-NEW uploads X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b5fce56d397a377819dc3ff5962ad7acf366398d;p=dak.git Also fallback to component from binary for non-NEW uploads We want to allow debug packages without overrides. --- diff --git a/daklib/archive.py b/daklib/archive.py index 4226ce9c..50a568a5 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -1272,7 +1272,7 @@ class ArchiveUpload(object): source_suites = self.session.query(Suite).filter(Suite.suite_id.in_(source_suite_ids)).subquery() source_component_func = lambda source: self._source_override(overridesuite, source).component - binary_component_func = lambda binary: self._binary_component(overridesuite, binary) + binary_component_func = lambda binary: self._binary_component(overridesuite, binary, only_overrides=False) (db_source, db_binaries) = self._install_to_suite(redirected_suite, source_component_func, binary_component_func, source_suites=source_suites, extra_source_archives=[suite.archive])