docker-offlineimap/offlineimap/repository
Sebastian Spaeth 3e28073f98 Do not create folders on readonly repositories
1) Rename the unintuitive repository.syncfoldersto() to
sync_folder_structure()

2) We were checking if the local repository is readonly and then turning
off any folder creation. But as we can create folders on a remote
repository too, we need to be more fine grained here. Just don't create
a folder on the repository that is marked readonly=True.

This still does not do away with the error message that one currently
gets on missing local folders.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-01-05 14:05:51 +01:00
..
__init__.py Create an abstract Repository class 2011-03-03 18:19:42 +01:00
Base.py Do not create folders on readonly repositories 2012-01-05 14:05:51 +01:00
Gmail.py repository.Gmail.getfolder() 2011-09-19 14:22:03 +02:00
IMAP.py Sanity check to notify us when we call IMAPRepository.getsep() too early 2011-12-01 09:49:09 +01:00
LocalStatus.py Don't pass in 'root' as para to LocalStatusFolders 2011-09-16 12:54:12 +02:00
Maildir.py Don't append trailing slash to maildir foldernames 2011-12-01 17:01:43 +01:00