diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-07-20 16:32:48 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-07-20 16:32:48 -0400 |
commit | a11dbcb8d9ab7f7adcb7fdb158a706753ef2c5a0 (patch) | |
tree | ba826079317621cdbdf1b285c916547afbe02359 | |
parent | db94481b6925fd62fcfcb38ca4d59c0ef7fcc1c8 (diff) | |
download | korg-helpers-a11dbcb8d9ab7f7adcb7fdb158a706753ef2c5a0.tar.gz |
Tweak output for pipermail processing
Show how many messages in each processed archive.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | list-archive-collector.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/list-archive-collector.py b/list-archive-collector.py index 416fe90..1f73df6 100755 --- a/list-archive-collector.py +++ b/list-archive-collector.py @@ -348,6 +348,7 @@ def grab_pipermail_archive(pipermail_url, mbx, listid, toaddr, lookaside, checks # Open it now as a mailbox tmpmbx = mailbox.mbox(tmpfile) + logger.debug(' %s messages in the archive', len(tmpmbx)) for mkey in tmpmbx.keys(): try: msg = tmpmbx.get_message(mkey) |