summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-31 22:32:52 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-31 22:32:52 (GMT)
commit05245f7487dfd5e35faeabc94e7e1a6fc205247c (patch)
treea2dc17675d60e151f61dc0e6a53cf778bf2dab70 /Lib/imaplib.py
parent87a1564f247eb04e559ef665bd97df0b88fca728 (diff)
downloadcpython-05245f7487dfd5e35faeabc94e7e1a6fc205247c.zip
cpython-05245f7487dfd5e35faeabc94e7e1a6fc205247c.tar.gz
cpython-05245f7487dfd5e35faeabc94e7e1a6fc205247c.tar.bz2
#5146: handle UID THREAD command correctly.
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index ec47657..2699fd4 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -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'