From 7a22fcc70b41ee02adeb5bf18c9d1d0d91917615 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 27 Oct 2009 13:06:15 +0000 Subject: [PATCH] Fix reference to cls.requires. Signed-off-by: Chris Lamb --- daklib/srcformats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5