From: Mark Hymers Date: Sat, 14 Mar 2009 15:29:19 +0000 (+0000) Subject: fix len() calls X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea32360cd36be0b03220a89cd8e7a2e77a8d348d;p=dak fix len() calls Signed-off-by: Mark Hymers --- diff --git a/daklib/binary.py b/daklib/binary.py index 29c5c2ad..88d78761 100755 --- a/daklib/binary.py +++ b/daklib/binary.py @@ -138,11 +138,11 @@ class Binary(object): self.__scan_ar() rejected = not self.chunks if relaxed: - if en(self.chunks) < 3: + if len(self.chunks) < 3: rejected = True self.reject("%s: found %d chunks, expected at least 3." % (self.filename, len(self.chunks))) else: - if en(self.chunks) != 3: + if len(self.chunks) != 3: rejected = True self.reject("%s: found %d chunks, expected 3." % (self.filename, len(self.chunks))) if self.chunks[0] != "debian-binary":