From 934c6eaee7864ecaaffaa8a85afa5464f7884268 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 2 Nov 2014 20:33:40 +0100 Subject: [PATCH] daklib/checks.py: check for Section field in binary packages --- daklib/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/checks.py b/daklib/checks.py index f4127808..c5a3f35d 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -300,7 +300,7 @@ class BinaryCheck(Check): fn = binary.hashed_file.filename control = binary.control - for field in ('Package', 'Architecture', 'Version', 'Description'): + for field in ('Package', 'Architecture', 'Version', 'Description', 'Section'): if field not in control: raise Reject('{0}: Missing mandatory field {0}.'.format(fn, field)) -- 2.39.2