On Tue, 2005-11-22 at 11:01 +0100, Thijs Kinkhorst wrote:
> W: keylookup; Packages's control file contains 'Essential: no'.
> W: keylookup; This package is marked Essential, without being known as
> such.

Here's a patch that solves the issue.


Thijs
--- checks/control.py.orig	2006-01-10 12:49:20.000000000 +0100
+++ checks/control.py	2006-01-10 12:49:25.000000000 +0100
@@ -70,7 +70,8 @@
             if self.information['control']['self'][0]['essential'].lower() not in ('no', 'yes'):
                 self.signal_error('essential-not-yes-or-no', \
                     [self.information['control']['self'][0]['essential']])
-            if not DataValidator('essential', self.pkg_name):
+            if self.information['control']['self'][0]['essential'].lower() == 'yes' and \
+	    	not DataValidator('essential', self.pkg_name):
                 self.signal_error('new-essential-package')
     def description(self):
         if self.information['control']['self'][0].has_key('description'):

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to