[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 f412780..c5a3f35 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))
 
-- 
1.7.10.4


Reply to: