/offlineimap/head: changeset 267
mbnames folder filter takes *2* arguments.
This commit is contained in:
parent
d3f924f6fc
commit
528a349d4b
@ -26,7 +26,7 @@ def genmbnames(config, localeval, boxlist):
|
|||||||
return
|
return
|
||||||
file = open(os.path.expanduser(config.get("mbnames", "filename")), "wt")
|
file = open(os.path.expanduser(config.get("mbnames", "filename")), "wt")
|
||||||
file.write(localeval.eval(config.get("mbnames", "header")))
|
file.write(localeval.eval(config.get("mbnames", "header")))
|
||||||
folderfilter = lambda foldername: 1
|
folderfilter = lambda accountname, foldername: 1
|
||||||
if config.has_option("mbnames", "folderfilter"):
|
if config.has_option("mbnames", "folderfilter"):
|
||||||
folderfilter = localeval.eval(config.get("mbnames", "folderfilter"),
|
folderfilter = localeval.eval(config.get("mbnames", "folderfilter"),
|
||||||
{'re': re})
|
{'re': re})
|
||||||
|
Loading…
Reference in New Issue
Block a user