/offlineimap/head: changeset 235

- Changed indentation in debian/control. Closes: #156327.

- Removed calls to folder object deletions. None have been implemented
  anyway.

- folder/Maildir.py: unlink throws OSError, not IOError; fixed. Now
  handles message deleting race condition properly. Closes: #154497.
This commit is contained in:
jgoerzen 2002-08-17 02:01:12 +01:00
parent c57d5a240b
commit e1657f962e
4 changed files with 31 additions and 19 deletions

View File

@ -1,3 +1,14 @@
offlineimap (3.2.6) unstable; urgency=low
* Changed indentation in debian/control. Closes: #156327.
* Removed calls to folder object deletions. None have been implemented
anyway.
* folder/Maildir.py: unlink throws OSError, not IOError; fixed.
Now handles message deleting race condition properly.
Closes: #154497.
-- John Goerzen <jgoerzen@complete.org> Fri, 16 Aug 2002 17:43:19 -0500
offlineimap (3.2.5) unstable; urgency=low
* Now handles uploading messages without Message-Id headers.

View File

@ -211,7 +211,7 @@ class MaildirFolder(BaseFolder):
filename = self.messagelist[uid]['filename']
try:
os.unlink(filename)
except IOError:
except OSError:
# Can't find the file -- maybe already deleted?
newmsglist = self._scanfolder()
if uid in newmsglist: # Nope, try new filename.

View File

@ -62,8 +62,9 @@ class BaseRepository:
#
# Find deleted folders.
#
# We don't delete folders right now.
for key in desthash.keys():
if not key in srchash:
dest.deletefolder(key)
#for key in desthash.keys():
# if not key in srchash:
# dest.deletefolder(key)