docker-offlineimap/offlineimap
Sebastian Spaeth d5e7620ce9 Create an abstract Repository class
A Repository() returns the correctly instanciated dervivate of a
BaseRepository, depending on the parameters passed to it. The returned
instance is eg an ImapRepository(). This makes the code look nicer,
and we have less functions lying around outside of classes (no more
global LoadRepository() function).

This will also enable us to conveniently hand back a
LocalStatusRepository based on SQLITE rather than plain text, if the
user configures this to be the experimental and optional backend
(once it exists).

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-03-03 18:19:42 +01:00
..
folder Use self.ui rather than UIBase.getglobalui() 2011-02-17 19:03:29 +01:00
repository Create an abstract Repository class 2011-03-03 18:19:42 +01:00
ui restore compatibilty with python 2.5 for ui TTY 2011-02-18 20:00:19 +01:00
__init__.py v6.3.2 2011-02-21 12:26:48 +01:00
accounts.py Create an abstract Repository class 2011-03-03 18:19:42 +01:00
CustomConfig.py Improve CustomConfig documentation 2011-01-20 19:46:01 +01:00
imaplibutil.py Merge branch 'master' into next 2011-01-18 18:40:29 +01:00
imapserver.py Replace UIBase.getglobalui() with getglobalui() 2011-01-05 19:24:00 +01:00
imaputil.py Replace UIBase.getglobalui() with getglobalui() 2011-01-05 19:24:00 +01:00
init.py signal handler should only be called with 2 args 2011-02-15 19:19:28 +01:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Update FSF address 2006-08-12 05:15:55 +01:00
syncmaster.py Implement true single-threading 2011-01-14 19:25:11 +01:00
threadutil.py Remove MultiLock implementation 2011-01-25 19:19:14 +01:00