offlineimap/offlineimap
Sebastian Spaeth 325dd833ba Make a main class OfflineImap that is being called
Rather than calling a function in a module, invoke offlineimap by
calling an OfflineImap object.

This removes code lying outside of objects; I prefer to keep code
within an object and provides us with a nicer Object encapsulation.

It will also ease the testing of Object functionality in unittests
when they are introduced.

Previously we would import and start Offlineimap like this:

from offlineimap import init
init.startup('6.2.0')

now we do:
from offlineimap import OfflineImap

offlineimap = OfflineImap()
offlineimap.startup('6.2.0')

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2010-12-09 19:52:48 +01:00
..
folder Change X-OfflineIMAP header format 2010-12-09 19:52:48 +01:00
repository Bugfix patch for offlineimap 2010-08-20 08:29:47 -05:00
ui Improve TTY ui to not always prepend 'sync account foo' 2010-12-09 19:52:48 +01:00
CustomConfig.py Update FSF address 2006-08-12 05:15:55 +01:00
__init__.py Make a main class OfflineImap that is being called 2010-12-09 19:52:48 +01:00
accounts.py Prettify message formatting 2010-12-09 19:52:48 +01:00
imaplibutil.py Fix ssl socket wrap deprecation warning. 2009-08-24 00:01:54 -05:00
imapserver.py Bugfix patch for offlineimap 2010-08-20 08:29:47 -05:00
imaputil.py Update FSF address 2006-08-12 05:15:55 +01:00
init.py Make a main class OfflineImap that is being called 2010-12-09 19:52:48 +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 remove unneeded includes from syncmaster.py 2010-12-09 19:52:48 +01:00
threadutil.py Don't always sleep while waiting for exited threads 2010-12-09 19:52:48 +01:00
version.py update version info 2009-08-12 00:41:19 -05:00