docker-offlineimap/offlineimap
Sebastian Spaeth 3aded16ed4 Make releaseconnection a NOOP when conn is None
During cleanup we often call releaseconnection in a finally: block. But
in cases of error, we might have dropped the connection earlier already
and set it to "None". In this case don't fail releaseconnection() but
make it a NOOP.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-11-02 10:37:17 +01:00
..
folder Fix mbox.select(foldername) readonly parameter comparison 2011-11-02 09:00:11 +01:00
repository Fix mbox.select(foldername) readonly parameter comparison 2011-11-02 09:00:11 +01:00
ui Fix string formatting when port is not given. 2011-09-30 11:02:20 +02:00
__init__.py 6.4.0 release 2011-09-29 11:20:57 +02:00
accounts.py Recache folder list after creating a new folder 2011-09-30 09:05:49 +02:00
CustomConfig.py Remove deprecated calls to apply() 2011-09-27 13:00:12 +02:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
imaplib2.py imaplib2: bump to upstream version 2.28 (rev 8228a0f) 2011-08-15 12:21:38 +02:00
imaplibutil.py Fix mbox.select(foldername) readonly parameter comparison 2011-11-02 09:00:11 +01:00
imapserver.py Make releaseconnection a NOOP when conn is None 2011-11-02 10:37:17 +01:00
imaputil.py Do not fail calling dequote() with empty string 2011-09-26 15:16:59 +02:00
init.py Don't use global variable profiledir 2011-09-29 16:16:53 +02:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py explicitly define symbols to import instead of 'import *' 2011-05-09 22:43:03 +02:00
syncmaster.py Remove weird SigListener class 2011-05-08 14:25:16 +02:00
threadutil.py Don't use global variable profiledir 2011-09-29 16:16:53 +02:00