globals.py 324 B

1234567891011121314
  1. # Copyright 2013-2016 Eygene A. Ryabinkin & contributors.
  2. #
  3. # Module that holds various global objects.
  4. from offlineimap.utils import const
  5. # Holds command-line options for OfflineIMAP.
  6. options = const.ConstProxy()
  7. def set_options(source):
  8. """Sets the source for options variable."""
  9. options.set_source(source)