docker-offlineimap/offlineimap/folder
Sebastian Spaeth 410e2d35e9 Set accountname in BaseFolder, and don't pass it in initialization
We passed in the accountname to all derivatives of BaseFolder, such as
IMAPFolder(...,repository,...,accountname), although it is perfectly
possible to get the accountname from the Repository(). So remove this
unneeded parameter. Each backend had to define getaccountname() (although
the function is hardly used and most accessed .accountname directly).

On the other hand BaseFolder was using getaccountname but it never defined
the function. So make the sane thing, remove all definitions from backends
and define accountname() once in Basefolder. It was made a property and not
just a (public) attribute, so it will show up in our developer
documentation as public API.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-09-16 12:54:12 +02:00
..
__init__.py Add Gmail IMAP special support. 2008-01-03 04:56:55 +01:00
Base.py Set accountname in BaseFolder, and don't pass it in initialization 2011-09-16 12:54:12 +02:00
Gmail.py Set accountname in BaseFolder, and don't pass it in initialization 2011-09-16 12:54:12 +02:00
IMAP.py Set accountname in BaseFolder, and don't pass it in initialization 2011-09-16 12:54:12 +02:00
LocalStatus.py Set accountname in BaseFolder, and don't pass it in initialization 2011-09-16 12:54:12 +02:00
LocalStatusSQLite.py Set accountname in BaseFolder, and don't pass it in initialization 2011-09-16 12:54:12 +02:00
Maildir.py Set accountname in BaseFolder, and don't pass it in initialization 2011-09-16 12:54:12 +02:00
UIDMaps.py Replaced tabs with spaces to unify python sources 2011-08-16 22:33:19 +02:00