docker-offlineimap/offlineimap
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
..
folder Implement clean CTRL-C termination 2012-01-04 19:31:27 +01:00
repository Do not create folders on readonly repositories 2012-01-05 14:05:51 +01:00
ui Don't output "Finished in x seconds" in quiet ui 2012-01-05 13:21:08 +01:00
__init__.py Release 6.4.3 2012-01-04 19:34:13 +01:00
accounts.py Do not create folders on readonly repositories 2012-01-05 14:05:51 +01:00
CustomConfig.py Remove deprecated calls to apply() 2011-09-27 13:00:12 +02:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
imaplib2.py Bump bundled imaplib2 to 2.29 2011-11-02 10:55:42 +01:00
imaplibutil.py Fix mbox.select(foldername) readonly parameter comparison 2011-11-02 08:57:01 +01:00
imapserver.py Remove unused imapserver getdelim() 2011-12-01 10:12:54 +01:00
imaputil.py Do not fail calling dequote() with empty string 2011-09-26 15:16:59 +02:00
init.py Implement clean CTRL-C termination 2012-01-04 19:31:27 +01:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py explicitly define symbols to import instead of 'import *' 2011-05-09 22:43:03 +02:00
syncmaster.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00