Fix mbox.select(foldername) readonly parameter comparison
The default parameter value was "None", and we were comparing that directly to the imaplib2 value of is_readonly which is False or True, so the comparison always returned "False". Fix this by setting the default parameter to "False" and not "None". Also convert all users of that function to use False/True. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
@ -43,3 +43,7 @@ Bug Fixes
|
||||
|
||||
* Make NOOPs to keep a server connection open more resistant against dropped
|
||||
connections.
|
||||
|
||||
* a readonly parameter to select() was not always treated correctly,
|
||||
which could result in some folders being opened read-only when we
|
||||
really needed read-write.
|
||||
|
Reference in New Issue
Block a user