docker-offlineimap/offlineimap
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
..
folder Fix double release of IMAP connection object 2014-02-26 17:51:48 +04:00
repository Add new expansion key for mbnames.peritem config variable 2013-08-27 20:25:23 +04:00
ui Always show full tracebacks at the end of the run 2013-08-27 20:25:30 +04:00
utils Create global instance of command-line options 2013-02-11 23:34:18 +04:00
__init__.py OfflineIMAP 6.5.5 is out 2013-10-04 17:03:06 +04:00
accounts.py Add new expansion key for mbnames.peritem config variable 2013-08-27 20:25:23 +04:00
CustomConfig.py Make authentication mechanisms configurable 2013-08-08 22:34:30 +04:00
emailutil.py Add support for alternative message date synchronisation 2013-08-09 10:48:00 +04:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
globals.py Create global instance of command-line options 2013-02-11 23:34:18 +04:00
imaplib2.py Updated bundled imaplib2 to 2.36 2013-09-19 17:19:37 +04:00
imaplibutil.py IMAPlib mixin class: pass 'readonly' exception to our callers 2012-08-11 11:59:26 +02:00
imapserver.py Make authentication mechanisms configurable 2013-08-08 22:34:30 +04:00
imaputil.py Fix parsing of quoted strings 2013-09-19 22:56:55 +04:00
init.py Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Add new expansion key for mbnames.peritem config variable 2013-08-27 20:25:23 +04:00
syncmaster.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py Fix deadlock for IMAP folder synced in singlethreaded mode 2013-02-05 07:53:25 +04:00