From 528a349d4bccf4a2dd5e88c9529802d0a47baaf2 Mon Sep 17 00:00:00 2001 From: mj Date: Wed, 9 Oct 2002 21:55:34 +0100 Subject: [PATCH] /offlineimap/head: changeset 267 mbnames folder filter takes *2* arguments. --- offlineimap/head/offlineimap/mbnames.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/head/offlineimap/mbnames.py b/offlineimap/head/offlineimap/mbnames.py index 8c0298b..48c2f30 100644 --- a/offlineimap/head/offlineimap/mbnames.py +++ b/offlineimap/head/offlineimap/mbnames.py @@ -26,7 +26,7 @@ def genmbnames(config, localeval, boxlist): return file = open(os.path.expanduser(config.get("mbnames", "filename")), "wt") file.write(localeval.eval(config.get("mbnames", "header"))) - folderfilter = lambda foldername: 1 + folderfilter = lambda accountname, foldername: 1 if config.has_option("mbnames", "folderfilter"): folderfilter = localeval.eval(config.get("mbnames", "folderfilter"), {'re': re})