/head: changeset 91

Updated read-only support
This commit is contained in:
jgoerzen
2002-07-10 12:25:02 +01:00
parent 097d30e987
commit f8c2be1df7
4 changed files with 20 additions and 5 deletions

View File

@ -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'

View File

@ -1,5 +1,5 @@
productname = 'OfflineIMAP'
versionstr = "2.0.6"
versionstr = "2.0.7"
versionlist = versionstr.split(".")
major = versionlist[0]