docker-offlineimap/offlineimap/folder
Eygene Ryabinkin b01274ce38 Fix double release of IMAP connection object
This commit fixes the case when we're invoking releaseconnection()
for a given imapobj twice.

This bug manifests itself as
{{{
ValueError: list.remove(x): x not in list

  File "[...]/offlineimap/folder/IMAP.py", line 615, in savemessage
    self.imapserver.releaseconnection(imapobj)
  File "[...]/offlineimap/imapserver.py", line 130, in releaseconnection
    self.assignedconnections.remove(connection)
}}}

Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
2014-02-26 17:51:48 +04:00
..
__init__.py Use "from . import" for relative imports 2012-02-06 17:41:43 +01:00
Base.py Properly call error() function from ui.UIBase 2013-08-30 21:49:09 +04:00
Gmail.py Use "from . import" for relative imports 2012-02-06 17:41:43 +01:00
IMAP.py Fix double release of IMAP connection object 2014-02-26 17:51:48 +04:00
LocalStatus.py Use "with lock" pattern 2012-08-31 22:34:53 +02:00
LocalStatusSQLite.py Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
Maildir.py Catch two instances of untested regexp matches 2013-08-30 21:50:08 +04:00
UIDMaps.py Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00