bump imaplib2 from 2.52 to 2.53
Remove support for binary send. Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
452ada330a
commit
c8a511bb7e
@ -17,9 +17,9 @@ Public functions: Internaldate2Time
|
|||||||
__all__ = ("IMAP4", "IMAP4_SSL", "IMAP4_stream",
|
__all__ = ("IMAP4", "IMAP4_SSL", "IMAP4_stream",
|
||||||
"Internaldate2Time", "ParseFlags", "Time2Internaldate")
|
"Internaldate2Time", "ParseFlags", "Time2Internaldate")
|
||||||
|
|
||||||
__version__ = "2.53"
|
__version__ = "2.52"
|
||||||
__release__ = "2"
|
__release__ = "2"
|
||||||
__revision__ = "53"
|
__revision__ = "52"
|
||||||
__credits__ = """
|
__credits__ = """
|
||||||
Authentication code contributed by Donn Cave <donn@u.washington.edu> June 1998.
|
Authentication code contributed by Donn Cave <donn@u.washington.edu> June 1998.
|
||||||
String method conversion by ESR, February 2001.
|
String method conversion by ESR, February 2001.
|
||||||
@ -51,8 +51,7 @@ Fix for correct byte encoding for _CRAM_MD5_AUTH taken from python3.5 imaplib.py
|
|||||||
Fix for correct Python 3 exception handling by Tobias Brink <tobias.brink@gmail.com> August 2015.
|
Fix for correct Python 3 exception handling by Tobias Brink <tobias.brink@gmail.com> August 2015.
|
||||||
Fix to allow interruptible IDLE command by Tim Peoples <dromedary512@users.sf.net> September 2015.
|
Fix to allow interruptible IDLE command by Tim Peoples <dromedary512@users.sf.net> September 2015.
|
||||||
Add support for TLS levels by Ben Boeckel <mathstuf@gmail.com> September 2015.
|
Add support for TLS levels by Ben Boeckel <mathstuf@gmail.com> September 2015.
|
||||||
Fix for shutown exception by Sebastien Gross <seb@chezwam.org> November 2015.
|
Fix for shutown exception by Sebastien Gross <seb@chezwam.org> November 2015."""
|
||||||
Add support for server BINARY mode (supplied by offlineimap-project) November 2015."""
|
|
||||||
__author__ = "Piers Lauder <piers@janeelix.com>"
|
__author__ = "Piers Lauder <piers@janeelix.com>"
|
||||||
__URL__ = "http://imaplib2.sourceforge.net"
|
__URL__ = "http://imaplib2.sourceforge.net"
|
||||||
__license__ = "Python License"
|
__license__ = "Python License"
|
||||||
@ -1384,10 +1383,7 @@ class IMAP4(object):
|
|||||||
self.literal = None
|
self.literal = None
|
||||||
if isinstance(literal, string_types):
|
if isinstance(literal, string_types):
|
||||||
literator = None
|
literator = None
|
||||||
if 'BINARY' in self.capabilities:
|
data = '%s {%s}' % (data, len(literal))
|
||||||
data = '%s ~{%s}' % (data, len(literal))
|
|
||||||
else:
|
|
||||||
data = '%s {%s}' % (data, len(literal))
|
|
||||||
else:
|
else:
|
||||||
literator = literal
|
literator = literal
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user