#5146: handle UID THREAD command correctly.

This commit is contained in:
Georg Brandl 2010-07-31 22:32:52 +00:00
parent 87a1564f24
commit 05245f7487
2 changed files with 3 additions and 1 deletions

View File

@ -765,7 +765,7 @@ class IMAP4:
', '.join(Commands[command])))
name = 'UID'
typ, dat = self._simple_command(name, command, *args)
if command in ('SEARCH', 'SORT'):
if command in ('SEARCH', 'SORT', 'THREAD'):
name = command
else:
name = 'FETCH'

View File

@ -15,6 +15,8 @@ Core and Builtins
Library
-------
- Issue #5146: Handle UID THREAD command correctly in imaplib.
- Issue #5147: Fix the header generated for cookie files written by
http.cookiejar.MozillaCookieJar.