]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/nonmultipart.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / email / mime / nonmultipart.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/nonmultipart.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/nonmultipart.py
deleted file mode 100644 (file)
index f6f857e..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright (C) 2002-2006 Python Software Foundation\r
-# Author: Barry Warsaw\r
-# Contact: email-sig@python.org\r
-\r
-"""Base class for MIME type messages that are not multipart."""\r
-\r
-__all__ = ['MIMENonMultipart']\r
-\r
-from email import errors\r
-from email.mime.base import MIMEBase\r
-\r
-\r
-\f\r
-class MIMENonMultipart(MIMEBase):\r
-    """Base class for MIME multipart/* type messages."""\r
-\r
-    def attach(self, payload):\r
-        # The public API prohibits attaching multiple subparts to MIMEBase\r
-        # derived subtypes since none of them are, by definition, of content\r
-        # type multipart/*\r
-        raise errors.MultipartConversionError(\r
-            'Cannot attach additional subparts to non-multipart/*')\r