docker-offlineimap/offlineimap
Sebastian Spaeth 33f55b5362 Implement dry-run on Account() level
1) Set attribute self.dryrun depending on whether we are in dry-run mode.
2) Don't actually call hooks in --dry-run (just log what you would
   invoke
3) Don't write out the mbnames file in --dry-run mode.

Repository, and Folder levels still need to be protected in dry-run mode
as of now.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-02-17 10:53:10 +01:00
..
folder UIDMaps: Better error message when not finding a mapping 2012-02-17 08:48:59 +01:00
repository Improve nametrans local->remote folder syncing 2012-02-16 11:45:18 +01:00
ui Implement dry-run on Account() level 2012-02-17 10:53:10 +01:00
__init__.py Release v6.5.2.1 2012-02-04 21:11:44 +01:00
accounts.py Implement dry-run on Account() level 2012-02-17 10:53:10 +01:00
CustomConfig.py Implement CustomConfig.set_if_not_exists() 2012-02-17 10:28:59 +01: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 dict.has_key(a) --> a in dict 2012-02-06 17:41:43 +01:00
imapserver.py Replace thread.get_ident() 2012-02-06 17:41:43 +01:00
imaputil.py Fix mixed space/tabs 2012-02-06 17:41:43 +01:00
init.py Add command line option --dry-run 2012-02-17 10:32:04 +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 dict.has_key(a) --> a in dict 2012-02-06 17:41:43 +01:00