[dak/master] Debug packages should not go to NEW even for binary-only uploads
---
daklib/archive.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/daklib/archive.py b/daklib/archive.py
index 50a568a..010fbf7 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))
--
2.1.4
Reply to: