/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:
parent
c57d5a240b
commit
e1657f962e
@ -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
|
offlineimap (3.2.5) unstable; urgency=low
|
||||||
|
|
||||||
* Now handles uploading messages without Message-Id headers.
|
* Now handles uploading messages without Message-Id headers.
|
||||||
|
@ -211,7 +211,7 @@ class MaildirFolder(BaseFolder):
|
|||||||
filename = self.messagelist[uid]['filename']
|
filename = self.messagelist[uid]['filename']
|
||||||
try:
|
try:
|
||||||
os.unlink(filename)
|
os.unlink(filename)
|
||||||
except IOError:
|
except OSError:
|
||||||
# Can't find the file -- maybe already deleted?
|
# Can't find the file -- maybe already deleted?
|
||||||
newmsglist = self._scanfolder()
|
newmsglist = self._scanfolder()
|
||||||
if uid in newmsglist: # Nope, try new filename.
|
if uid in newmsglist: # Nope, try new filename.
|
||||||
|
@ -62,8 +62,9 @@ class BaseRepository:
|
|||||||
#
|
#
|
||||||
# Find deleted folders.
|
# Find deleted folders.
|
||||||
#
|
#
|
||||||
|
# We don't delete folders right now.
|
||||||
|
|
||||||
for key in desthash.keys():
|
#for key in desthash.keys():
|
||||||
if not key in srchash:
|
# if not key in srchash:
|
||||||
dest.deletefolder(key)
|
# dest.deletefolder(key)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user