summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/mailbox.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-03-25 19:03:05 -0400
committerBarry Warsaw2016-03-25 19:03:05 -0400
commitc81e250e3a5690e8c8f9f4dc4b460c2a81731c48 (patch)
tree8152b01042ce3cd9a2f118759cbab7193f41b64e /src/mailman/utilities/mailbox.py
parent01433eedaeea07b72bfc8b2a970a1e0023975cd6 (diff)
downloadmailman-c81e250e3a5690e8c8f9f4dc4b460c2a81731c48.tar.gz
mailman-c81e250e3a5690e8c8f9f4dc4b460c2a81731c48.tar.zst
mailman-c81e250e3a5690e8c8f9f4dc4b460c2a81731c48.zip
Diffstat (limited to 'src/mailman/utilities/mailbox.py')
-rw-r--r--src/mailman/utilities/mailbox.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mailman/utilities/mailbox.py b/src/mailman/utilities/mailbox.py
index e3630a1ff..b799babea 100644
--- a/src/mailman/utilities/mailbox.py
+++ b/src/mailman/utilities/mailbox.py
@@ -17,11 +17,6 @@
"""MMDF helper for digests."""
-__all__ = [
- 'Mailbox',
- ]
-
-
# Use a single file format for the digest mailbox because this makes it easier
# to calculate the current size of the mailbox. This way, we don't have to
# carry around or store the size of the mailbox, we can just stat the file to
@@ -29,9 +24,10 @@ __all__ = [
# for us is that it does no 'From' mangling.
# mangling.
from mailbox import MMDF
+from mailman import public
-
+@public
class Mailbox(MMDF):
"""A mailbox that interoperates with the 'with' statement."""