docker-offlineimap/offlineimap
Sebastian Spaeth 10dd317026 Folder: Implement __eq__ for folders
This allows to compare folders directly with strings. It also allows
constructs such as "if 'moo' in repo.getfolders()".

See the code documentation for the exact behavior (it basically is equal if
it's the same instance *or* a string matching the untranslated folder name.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-02-16 11:03:33 +01:00
..
folder Folder: Implement __eq__ for folders 2012-02-16 11:03:33 +01:00
repository Implement foldersort in a python3 compatible way 2012-02-13 08:36:28 +01:00
ui dict.has_key(a) --> a in dict 2012-02-06 17:41:43 +01:00
__init__.py Release v6.5.2.1 2012-02-04 21:11:44 +01:00
accounts.py Remove unused locked() function 2012-02-06 17:41:42 +01:00
CustomConfig.py Import configparser for python3 compatability 2012-02-06 17:41:42 +01:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
imaplib2.py Bump bundled imaplib2 to 2.29 2011-11-02 10:55:42 +01:00
imaplibutil.py dict.has_key(a) --> a in dict 2012-02-06 17:41:43 +01:00
imapserver.py Replace thread.get_ident() 2012-02-06 17:41:43 +01:00
imaputil.py Fix mixed space/tabs 2012-02-06 17:41:43 +01:00
init.py except Ex, e: --> except Ex as e: 2012-02-06 17:41:42 +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