X-Git-Url: https://git.donarmstrong.com/?p=dak.git;a=blobdiff_plain;f=daklib%2Fchecks.py;h=c5a3f35dc6cdad45e3dca0438f9017acfc081283;hp=f4127808b5ac2a96baf903953d755c00ab4c1d8a;hb=934c6eaee7864ecaaffaa8a85afa5464f7884268;hpb=da8bb650b64c823ce8ca6ac10f6c97c55cfe5d3a 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))