From: Ansgar Burchardt Date: Sat, 19 Dec 2015 23:32:44 +0000 (+0100) Subject: Debug packages should not go to NEW even for binary-only uploads X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b1e293abe386bd5fd5ffcdfeb563bfe96f75904e;p=dak.git Debug packages should not go to NEW even for binary-only uploads --- diff --git a/daklib/archive.py b/daklib/archive.py index 50a568a5..010fbf7e 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -788,6 +788,8 @@ class ArchiveUpload(object): binaries = [ entry for entry in packages ] for b in binaries: + if utils.is_in_debug_section(b.control) and suite.debug_suite is not None: + continue override = self._binary_override(suite, b) if override is None: self.warnings.append('binary:{0} is NEW.'.format(b.name))