From: Chris Lamb Date: Tue, 27 Oct 2009 13:06:15 +0000 (+0000) Subject: Fix reference to cls.requires. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a22fcc70b41ee02adeb5bf18c9d1d0d91917615;p=dak Fix reference to cls.requires. Signed-off-by: Chris Lamb --- diff --git a/daklib/srcformats.py b/daklib/srcformats.py index 87ba2f89..a8237c3d 100644 --- a/daklib/srcformats.py +++ b/daklib/srcformats.py @@ -17,7 +17,7 @@ class SourceFormat(type): @classmethod def reject_msgs(cls, has): - if len(cls.required) != len([x for x in requires if has[x]]): + if len(cls.requires) != len([x for x in cls.requires if has[x]]): yield "lack of required files for format %s" % cls.name for key in cls.disallowed: