diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-01 03:06:31 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-01 03:06:31 (GMT) |
commit | 936654bce0444cad8259a7585722dcb06a0f1ec8 (patch) | |
tree | 14e637264e48d13499484c7666fbfbf2d46eac8f /Lib/imaplib.py | |
parent | 094662a16542d1cc56713b35dde39089490dec35 (diff) | |
download | cpython-936654bce0444cad8259a7585722dcb06a0f1ec8.zip cpython-936654bce0444cad8259a7585722dcb06a0f1ec8.tar.gz cpython-936654bce0444cad8259a7585722dcb06a0f1ec8.tar.bz2 |
Replaced boolean test with is None
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r-- | Lib/imaplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py index ef93f73..3ec75a1 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' |