]> err.no Git - dak/commitdiff
Fix reference to cls.requires.
authorChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 13:06:15 +0000 (13:06 +0000)
committerChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 13:06:15 +0000 (13:06 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/srcformats.py

index 87ba2f89c614bd71c9903a4ff7d05a6ee379179b..a8237c3d5e17e9cded9a24daa2d42d890146e768 100644 (file)
@@ -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: