docker-offlineimap/offlineimap/globals.py

14 lines
323 B
Python
Raw Normal View History

# 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)