From aa5b411b41978f3835c49850dd567fc284d9aad5 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 11 May 2008 20:51:18 +0000 Subject: #756982: Remove rfc822 reference. --- Lib/mailbox.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Lib/mailbox.py') diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 595f986fd9..38ff0b1eb7 100755 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -18,7 +18,6 @@ import copy import email import email.message import email.generator -import rfc822 import io try: if sys.platform == 'os2emx': @@ -222,7 +221,7 @@ class Maildir(Mailbox): colon = ':' - def __init__(self, dirname, factory=rfc822.Message, create=True): + def __init__(self, dirname, factory=None, create=True): """Initialize a Maildir instance.""" Mailbox.__init__(self, dirname, factory, create) if not os.path.exists(self._path): -- cgit v1.2.1