1
0
mirror of https://github.com/OfflineIMAP/offlineimap.git synced 2024-06-25 07:27:44 +02:00
offlineimap/offlineimap/globals.py
Nicolas Sebrecht 092264c8e7 fix: when called with -a, mbnames must not erase entries of other accounts
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>
2016-06-25 17:33:42 +02:00

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)