docker-offlineimap/offlineimap
Nicolas Sebrecht 1553e843b3 Revert "Don't output initial blurb in "quiet" mode"
This reverts commit a1dc76ae91.

Causes a crash when using Blinkenlights UI with -l CLI option.

  $ ./offlineimap.py -c offlineimap.conf.minimal -u blinkenlights -l foo
  Traceback (most recent call last):
    File "./offlineimap.py", line 36, in <module>
      oi.run()
    File "/tmp/offlineimap/offlineimap/init.py", line 50, in run
      options, args = self.__parse_cmd_options()
    File "/tmp/offlineimap/offlineimap/init.py", line 205, in __parse_cmd_options
      self.ui.setlogfile(options.logfile)
    File "/tmp/offlineimap/offlineimap/ui/UIBase.py", line 119, in setlogfile
      self.logger.info(msg)
    File "/usr/lib/python2.7/logging/__init__.py", line 1159, in info
      self._log(INFO, msg, args, **kwargs)
    File "/usr/lib/python2.7/logging/__init__.py", line 1278, in _log
      self.handle(record)
    File "/usr/lib/python2.7/logging/__init__.py", line 1288, in handle
      self.callHandlers(record)
    File "/usr/lib/python2.7/logging/__init__.py", line 1328, in callHandlers
      hdlr.handle(record)
    File "/usr/lib/python2.7/logging/__init__.py", line 751, in handle
      self.emit(record)
    File "/tmp/offlineimap/offlineimap/ui/Curses.py", line 305, in emit
      color = self.ui.gettf().curses_color
  AttributeError: 'CursesLogHandler' object has no attribute 'ui'

Reported-by: iliastsi
Github-issue: #293
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2016-01-08 17:33:00 +01:00
..
folder folder/Maildir: ignore dot files 2015-12-05 12:49:41 +01:00
repository Allow authorization via XOAUTH2 using access token 2015-12-30 00:25:57 +01:00
ui Revert "Don't output initial blurb in "quiet" mode" 2016-01-08 17:33:00 +01:00
utils Make OS-default CA certificate file to be requested explicitely 2015-01-18 22:05:49 +03:00
__init__.py v6.6.1 2015-12-28 01:32:37 +01:00
accounts.py accounts: remove unused imaplibutil import 2015-04-07 16:34:35 +02:00
CustomConfig.py Properly re-raise exception to save original tracebacks 2015-01-12 17:51:21 +03:00
emailutil.py more style consistency 2015-01-08 23:36:19 +01:00
error.py more consistent style 2015-01-07 21:31:43 +01:00
globals.py Create global instance of command-line options 2013-02-11 23:34:18 +04:00
imaplib2.py bump imaplib2 from 2.52 to 2.53 2015-12-28 01:18:16 +01:00
imaplibutil.py Merge branch 'pilou--tests1' into next 2015-04-02 19:32:37 +02:00
imapserver.py Allow authorization via XOAUTH2 using access token 2015-12-30 00:25:57 +01:00
imaputil.py IMAP folder: expose the message keywords 2015-11-22 19:51:02 +01:00
init.py fix: replace rogue print statement by self.ui.debug 2015-11-09 11:47:39 +01:00
localeval.py localeval: avoid redefining 'file' keyword 2015-01-14 17:18:48 +01:00
mbnames.py mbnames: add option to write the file once per account 2015-03-22 21:15:46 +01:00
syncmaster.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py more style consistency 2015-02-10 17:25:00 +01:00