Merge branch 'ss/folder-name-whitspaces' into next

Conflicts:
	Changelog.draft.rst
This commit is contained in:
Nicolas Sebrecht 2011-04-28 18:29:14 +02:00
commit cda932351c
2 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,8 @@ Changes
* Reduced our sync logic from 4 passes to 3 passes (integrating upload of
"new" and "existing" messages into one function). This should result in a
slight speedup.
* No whitespace is stripped from comma-separated arguments passed via
the -f option.
Bug Fixes
---------

View File

@ -240,8 +240,7 @@ class OfflineImap:
#custom folder list specified?
if options.folders:
foldernames = map(lambda s: s.strip(),
options.folders.split(","))
foldernames = options.folders.split(",")
folderfilter = "lambda f: f in %s" % foldernames
folderincludes = "[]"
for accountname in accounts.getaccountlist(config):