docker-offlineimap/offlineimap/folder
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
..
__init__.py Use "from . import" for relative imports 2012-02-06 17:41:43 +01:00
Base.py Folder: Implement __eq__ for folders 2012-02-16 11:03:33 +01:00
Gmail.py Use "from . import" for relative imports 2012-02-06 17:41:43 +01:00
IMAP.py dict.has_key(a) --> a in dict 2012-02-06 17:41:43 +01:00
LocalStatus.py Use "from . import" for relative imports 2012-02-06 17:41:43 +01:00
LocalStatusSQLite.py Use "from . import" for relative imports 2012-02-06 17:41:43 +01:00
Maildir.py long(0) -> 0 2012-02-06 17:41:43 +01:00
UIDMaps.py dict.has_key(a) --> a in dict 2012-02-06 17:41:43 +01:00