]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
imaplib: IDLE -> IMAP4 IDLE in exception message
authorForest <foresto@users.noreply.github.com>
Sun, 1 Dec 2024 21:52:51 +0000 (21:52 +0000)
committerGitHub <noreply@github.com>
Sun, 1 Dec 2024 21:52:51 +0000 (21:52 +0000)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Lib/imaplib.py

index b006a74a8190402e94c0fc3de17871fa9c9af74d..c64dd153e545993e94f8af9a1fb529bf1e042aa9 100644 (file)
@@ -1410,7 +1410,7 @@ class Idler:
 
     def __init__(self, imap, dur=None):
         if 'IDLE' not in imap.capabilities:
-            raise imap.error("Server does not support IDLE")
+            raise imap.error("Server does not support IMAP4 IDLE")
         self._dur = dur
         self._imap = imap
         self._tag = None