]> granicus.if.org Git - python/commitdiff
#5146: handle UID THREAD command correctly.
authorGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 22:32:52 +0000 (22:32 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 22:32:52 +0000 (22:32 +0000)
Lib/imaplib.py
Misc/NEWS

index ec476572abe9f176363cf33732a5f9b52eb08594..2699fd42bfba6f3b03f0d1b07403d0f3d1da2562 100644 (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'
index 3d9a4b6ecd8549182870ce2ea9247e587f72bcae..fffed33fbed9d2b07a9a1f6247156ebb4c2e6933 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.