561a3d4329
CustomConfigParser.getlocaleval() loads "pythonfile" at each call. Besides unnecessary IO, in case that dynamic_folderfilter is true, the code in "pythonfile" would behave stateless, since it is re-initialized at each call of getlocaleval(), i.e., at every sync. Fix that by keeping a singleton copy of localeval in CustomConfigParser after the first call of getlocaleval(). Signed-off-by: Stefan Huber <shuber@sthu.org> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net> |
||
---|---|---|
.. | ||
folder | ||
repository | ||
ui | ||
utils | ||
__init__.py | ||
accounts.py | ||
CustomConfig.py | ||
emailutil.py | ||
error.py | ||
globals.py | ||
imaplib2.py | ||
imaplibutil.py | ||
imapserver.py | ||
imaputil.py | ||
init.py | ||
localeval.py | ||
mbnames.py | ||
syncmaster.py | ||
threadutil.py |