diff options
author | Guido van Rossum <guido@python.org> | 2007-08-25 13:43:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-25 13:43:02 (GMT) |
commit | 6398b7a351d04408fa8ce0204d78559e8d6ac98f (patch) | |
tree | 5f274983fa91009d1a7b4bfa26de59a83942581f /Lib/email/mime/nonmultipart.py | |
parent | f616b224506ef17ac9ab4378c92b99ae816b88f7 (diff) | |
download | cpython-6398b7a351d04408fa8ce0204d78559e8d6ac98f.zip cpython-6398b7a351d04408fa8ce0204d78559e8d6ac98f.tar.gz cpython-6398b7a351d04408fa8ce0204d78559e8d6ac98f.tar.bz2 |
Remove the email package for now.
Once Barry and the email-sig have a working new version
we'll add it back.
If it doesn't make the 3.0a deadline (release August 31), too bad.
Diffstat (limited to 'Lib/email/mime/nonmultipart.py')
-rw-r--r-- | Lib/email/mime/nonmultipart.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Lib/email/mime/nonmultipart.py b/Lib/email/mime/nonmultipart.py deleted file mode 100644 index dd280b5..0000000 --- a/Lib/email/mime/nonmultipart.py +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (C) 2002-2006 Python Software Foundation -# Author: Barry Warsaw -# Contact: email-sig@python.org - -"""Base class for MIME type messages that are not multipart.""" - -__all__ = ['MIMENonMultipart'] - -from email import errors -from email.mime.base import MIMEBase - - - -class MIMENonMultipart(MIMEBase): - """Base class for MIME multipart/* type messages.""" - - __pychecker__ = 'unusednames=payload' - - def attach(self, payload): - # The public API prohibits attaching multiple subparts to MIMEBase - # derived subtypes since none of them are, by definition, of content - # type multipart/* - raise errors.MultipartConversionError( - 'Cannot attach additional subparts to non-multipart/*') - - del __pychecker__ |