globals.py 323 B

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