From ea32360cd36be0b03220a89cd8e7a2e77a8d348d Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 14 Mar 2009 15:29:19 +0000 Subject: [PATCH] fix len() calls Signed-off-by: Mark Hymers --- daklib/binary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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": -- 2.39.5