2016-05-22 23:31:54 +02:00
|
|
|
# Copyright 2013-2016 Eygene A. Ryabinkin & contributors.
|
2013-02-05 04:49:56 +01:00
|
|
|
#
|
|
|
|
# Module that holds various global objects.
|
|
|
|
|
|
|
|
from offlineimap.utils import const
|
|
|
|
|
|
|
|
# Holds command-line options for OfflineIMAP.
|
|
|
|
options = const.ConstProxy()
|
|
|
|
|
2020-08-29 20:16:35 +02:00
|
|
|
|
2016-05-22 23:31:54 +02:00
|
|
|
def set_options(source):
|
2016-06-23 00:20:57 +02:00
|
|
|
"""Sets the source for options variable."""
|
2016-05-22 23:31:54 +02:00
|
|
|
|
2016-06-23 00:20:57 +02:00
|
|
|
options.set_source(source)
|