]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/email/errors.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / email / errors.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/email/errors.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/email/errors.py
deleted file mode 100644 (file)
index 8de8f77..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright (C) 2001-2006 Python Software Foundation\r
-# Author: Barry Warsaw\r
-# Contact: email-sig@python.org\r
-\r
-"""email package exception classes."""\r
-\r
-\r
-\f\r
-class MessageError(Exception):\r
-    """Base class for errors in the email package."""\r
-\r
-\r
-class MessageParseError(MessageError):\r
-    """Base class for message parsing errors."""\r
-\r
-\r
-class HeaderParseError(MessageParseError):\r
-    """Error while parsing headers."""\r
-\r
-\r
-class BoundaryError(MessageParseError):\r
-    """Couldn't find terminating boundary."""\r
-\r
-\r
-class MultipartConversionError(MessageError, TypeError):\r
-    """Conversion to a multipart is prohibited."""\r
-\r
-\r
-class CharsetError(MessageError):\r
-    """An illegal charset was given."""\r
-\r
-\r
-\f\r
-# These are parsing defects which the parser was able to work around.\r
-class MessageDefect:\r
-    """Base class for a message defect."""\r
-\r
-    def __init__(self, line=None):\r
-        self.line = line\r
-\r
-class NoBoundaryInMultipartDefect(MessageDefect):\r
-    """A message claimed to be a multipart but had no boundary parameter."""\r
-\r
-class StartBoundaryNotFoundDefect(MessageDefect):\r
-    """The claimed start boundary was never found."""\r
-\r
-class FirstHeaderLineIsContinuationDefect(MessageDefect):\r
-    """A message had a continuation line as its first header line."""\r
-\r
-class MisplacedEnvelopeHeaderDefect(MessageDefect):\r
-    """A 'Unix-from' header was found in the middle of a header block."""\r
-\r
-class MalformedHeaderDefect(MessageDefect):\r
-    """Found a header that was missing a colon, or was otherwise malformed."""\r
-\r
-class MultipartInvariantViolationDefect(MessageDefect):\r
-    """A message claimed to be a multipart but no subparts were found."""\r