From: Ansgar Burchardt Date: Sun, 2 Nov 2014 19:33:40 +0000 (+0100) Subject: daklib/checks.py: check for Section field in binary packages X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=934c6eaee7864ecaaffaa8a85afa5464f7884268;p=dak.git daklib/checks.py: check for Section field in binary packages --- 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))