diff options
| author | Barry Warsaw | 2008-09-26 21:11:51 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2008-09-26 21:11:51 -0400 |
| commit | b6eff15e7d34e60e0fa9f13b5e944d73bf499414 (patch) | |
| tree | 31dc0a415cf454740f1cb2c02b35a341889bb28c /mailman/Archiver/pipermail.py | |
| parent | 6f4351721559e8b7b577d3a01216fec88121ed11 (diff) | |
| download | mailman-b6eff15e7d34e60e0fa9f13b5e944d73bf499414.tar.gz mailman-b6eff15e7d34e60e0fa9f13b5e944d73bf499414.tar.zst mailman-b6eff15e7d34e60e0fa9f13b5e944d73bf499414.zip | |
Diffstat (limited to 'mailman/Archiver/pipermail.py')
| -rw-r--r-- | mailman/Archiver/pipermail.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mailman/Archiver/pipermail.py b/mailman/Archiver/pipermail.py index a7c4e3a98..19bc05c3f 100644 --- a/mailman/Archiver/pipermail.py +++ b/mailman/Archiver/pipermail.py @@ -17,8 +17,8 @@ __version__ = '0.11 (Mailman edition)' VERSION = __version__ CACHESIZE = 100 # Number of slots in the cache -from mailman import Errors from mailman.Mailbox import ArchiverMailbox +from mailman.core import errors from mailman.i18n import _ SPACE = ' ' @@ -548,7 +548,7 @@ class T: while counter < start: try: m = mbox.next() - except Errors.DiscardMessage: + except errors.DiscardMessage: continue if m is None: return @@ -557,7 +557,7 @@ class T: try: pos = input.tell() m = mbox.next() - except Errors.DiscardMessage: + except errors.DiscardMessage: continue except Exception: log.error('uncaught archiver exception at filepos: %s', pos) |
