From d4b1c7afa712b5e4bc989fe69cffe2d252db642a Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Fri, 13 Dec 2013 16:53:13 -0800 Subject: Fixed bin/arch to not create scrubbed attachments for messages skipped when processing the --start= option. --- Mailman/Archiver/pipermail.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Mailman/Archiver') diff --git a/Mailman/Archiver/pipermail.py b/Mailman/Archiver/pipermail.py index 939602ba..9c54bbd9 100644 --- a/Mailman/Archiver/pipermail.py +++ b/Mailman/Archiver/pipermail.py @@ -552,6 +552,8 @@ class T: if start is None: start = 0 counter = 0 + if start: + mbox.skipping(True) while counter < start: try: m = mbox.next() @@ -560,6 +562,8 @@ class T: if m is None: return counter += 1 + if start: + mbox.skipping(False) while 1: try: pos = input.tell() -- cgit v1.2.3