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:
Nicolas Sebrecht 2015-12-28 01:17:42 +01:00
parent 452ada330a
commit c8a511bb7e
1 changed files with 4 additions and 8 deletions

View File

@ -17,9 +17,9 @@ Public functions: Internaldate2Time
__all__ = ("IMAP4", "IMAP4_SSL", "IMAP4_stream",
"Internaldate2Time", "ParseFlags", "Time2Internaldate")
__version__ = "2.53"
__version__ = "2.52"
__release__ = "2"
__revision__ = "53"
__revision__ = "52"
__credits__ = """
Authentication code contributed by Donn Cave <donn@u.washington.edu> June 1998.
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 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.
Fix for shutown exception by Sebastien Gross <seb@chezwam.org> November 2015.
Add support for server BINARY mode (supplied by offlineimap-project) November 2015."""
Fix for shutown exception by Sebastien Gross <seb@chezwam.org> November 2015."""
__author__ = "Piers Lauder <piers@janeelix.com>"
__URL__ = "http://imaplib2.sourceforge.net"
__license__ = "Python License"
@ -1384,10 +1383,7 @@ class IMAP4(object):
self.literal = None
if isinstance(literal, string_types):
literator = None
if 'BINARY' in self.capabilities:
data = '%s ~{%s}' % (data, len(literal))
else:
data = '%s {%s}' % (data, len(literal))
data = '%s {%s}' % (data, len(literal))
else:
literator = literal