]> git.decadent.org.uk Git - dak.git/commitdiff
Also fallback to component from binary for non-NEW uploads
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Dec 2015 13:16:46 +0000 (14:16 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Dec 2015 13:16:46 +0000 (14:16 +0100)
We want to allow debug packages without overrides.

daklib/archive.py

index 4226ce9c6e11eb6ebf3761c65fd07783e9a14efc..50a568a5b650cc5c85baa230fcdb3dbaf642da9f 100644 (file)
@@ -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])