summaryrefslogtreecommitdiff
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-06-01 03:06:31 +0000
committerRaymond Hettinger <python@rcn.com>2002-06-01 03:06:31 +0000
commit936654bce0444cad8259a7585722dcb06a0f1ec8 (patch)
tree14e637264e48d13499484c7666fbfbf2d46eac8f /Lib/imaplib.py
parent094662a16542d1cc56713b35dde39089490dec35 (diff)
downloadcpython-git-936654bce0444cad8259a7585722dcb06a0f1ec8.tar.gz
Replaced boolean test with is None
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 ef93f734bd..3ec75a1997 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -539,7 +539,7 @@ class IMAP4:
# Mandated responses are ('FLAGS', 'EXISTS', 'RECENT', 'UIDVALIDITY')
self.untagged_responses = {} # Flush old responses.
self.is_readonly = readonly
- if readonly:
+ if readonly is not None:
name = 'EXAMINE'
else:
name = 'SELECT'