From ba5e6fded9973ad7d6275133947b73cbce867f9a Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 1 Aug 2009 16:18:55 +0100 Subject: [PATCH] make binary class store rejects Signed-off-by: Mark Hymers --- daklib/binary.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daklib/binary.py b/daklib/binary.py index 37176e86..92727951 100755 --- a/daklib/binary.py +++ b/daklib/binary.py @@ -72,6 +72,8 @@ class Binary(object): self.tmpdir = None self.chunks = None self.wrapped_reject = reject + # Store rejects for later use + self.rejects = [] def reject(self, message): """ @@ -79,6 +81,7 @@ class Binary(object): otherwise send it to stderr. """ print >> sys.stderr, message + self.rejects.append(message) if self.wrapped_reject: self.wrapped_reject(message) -- 2.39.5