]> git.decadent.org.uk Git - dak.git/commitdiff
Debug packages should not go to NEW even for binary-only uploads
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Dec 2015 23:32:44 +0000 (00:32 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Dec 2015 23:32:44 +0000 (00:32 +0100)
daklib/archive.py

index 50a568a5b650cc5c85baa230fcdb3dbaf642da9f..010fbf7eba5814f914b525abd5b7788d97096415 100644 (file)
@@ -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))