diff options
author | Georg Brandl <georg@python.org> | 2008-05-11 20:51:18 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-11 20:51:18 (GMT) |
commit | aa5b411b41978f3835c49850dd567fc284d9aad5 (patch) | |
tree | 3ab1a0e461997180ff786b74b4a6a6797a811543 /Lib | |
parent | 2b576d22af93c3fe0f5cae4277d0cd3a4de7c066 (diff) | |
download | cpython-aa5b411b41978f3835c49850dd567fc284d9aad5.zip cpython-aa5b411b41978f3835c49850dd567fc284d9aad5.tar.gz cpython-aa5b411b41978f3835c49850dd567fc284d9aad5.tar.bz2 |
#756982: Remove rfc822 reference.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/mailbox.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 595f986..38ff0b1 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): |