092264c8e7
Make mbnames to work with intermediate files, one per account, in the JSON format. The mbnames target is built from those intermediate files. Github-Fix: https://github.com/OfflineIMAP/offlineimap/issues/66 Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
14 lines
323 B
Python
14 lines
323 B
Python
# Copyright 2013-2016 Eygene A. Ryabinkin & contributors.
|
|
#
|
|
# Module that holds various global objects.
|
|
|
|
from offlineimap.utils import const
|
|
|
|
# Holds command-line options for OfflineIMAP.
|
|
options = const.ConstProxy()
|
|
|
|
def set_options(source):
|
|
"""Sets the source for options variable."""
|
|
|
|
options.set_source(source)
|