/head: changeset 91
Updated read-only support
This commit is contained in:
@ -569,10 +569,7 @@ class IMAP4:
|
||||
# Mandated responses are ('FLAGS', 'EXISTS', 'RECENT', 'UIDVALIDITY')
|
||||
self.untagged_responses = {} # Flush old responses.
|
||||
self.is_readonly = readonly
|
||||
if readonly is not None:
|
||||
name = 'EXAMINE'
|
||||
else:
|
||||
name = 'SELECT'
|
||||
name = 'SELECT'
|
||||
typ, dat = self._simple_command(name, mailbox)
|
||||
if typ != 'OK':
|
||||
self.state = 'AUTH' # Might have been 'SELECTED'
|
||||
|
@ -1,5 +1,5 @@
|
||||
productname = 'OfflineIMAP'
|
||||
versionstr = "2.0.6"
|
||||
versionstr = "2.0.7"
|
||||
|
||||
versionlist = versionstr.split(".")
|
||||
major = versionlist[0]
|
||||
|
Reference in New Issue
Block a user