bump imaplib2 from v2.52 to v2.53
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
f2ca4217c6
commit
02a5f77780
@ -17,9 +17,9 @@ Public functions: Internaldate2Time
|
||||
__all__ = ("IMAP4", "IMAP4_SSL", "IMAP4_stream",
|
||||
"Internaldate2Time", "ParseFlags", "Time2Internaldate")
|
||||
|
||||
__version__ = "2.52"
|
||||
__version__ = "2.53"
|
||||
__release__ = "2"
|
||||
__revision__ = "52"
|
||||
__revision__ = "53"
|
||||
__credits__ = """
|
||||
Authentication code contributed by Donn Cave <donn@u.washington.edu> June 1998.
|
||||
String method conversion by ESR, February 2001.
|
||||
@ -51,7 +51,8 @@ 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."""
|
||||
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>"
|
||||
__URL__ = "http://imaplib2.sourceforge.net"
|
||||
__license__ = "Python License"
|
||||
@ -1383,6 +1384,9 @@ 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))
|
||||
else:
|
||||
literator = literal
|
||||
|
Loading…
Reference in New Issue
Block a user