docker-offlineimap/offlineimap
Sebastian Spaeth 3cb2ddccb8 Use "with lock" pattern
While looking at the code to investigate if an why we sometimes don't
seem to honor the write lock, I made it use the more modern "with lock:"
pattern.

Still have not found out how we could ever be using 2 instances of the
LocalStatusFolder for the same folder.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-08-31 22:34:53 +02:00
..
folder Use "with lock" pattern 2012-08-31 22:34:53 +02:00
repository Throw OfflineImapErrors rather than weird Exceptions 2012-08-31 20:31:43 +02:00
ui Fix str.format() calls for Python 2.6. 2012-06-02 18:25:51 +02:00
__init__.py Release v6.5.4 2012-06-02 13:41:20 +02:00
accounts.py Exit with nice error message failing to get repositories 2012-08-31 20:34:54 +02:00
CustomConfig.py Implement CustomConfig.set_if_not_exists() 2012-02-17 10:28:59 +01:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
imaplib2.py imaplib2: bump upstream version 2.29 --> 2.33 2012-04-19 13:22:03 +02:00
imaplibutil.py IMAPlib mixin class: pass 'readonly' exception to our callers 2012-08-11 11:59:26 +02:00
imapserver.py Replace thread.get_ident() 2012-02-06 17:41:43 +01:00
imaputil.py Improve 'find first quotation' regex 2012-08-21 16:58:32 +02:00
init.py -f command line option only works on the untranslated remote names 2012-02-24 14:52:30 +01: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 Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py dict.has_key(a) --> a in dict 2012-02-06 17:41:43 +01:00