learn to not download UIDs defined by the user

Allow users to workaround offending emails that offlineimap can't download.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2016-06-28 23:58:03 +02:00
parent f0096391fc
commit 29e06a60f9
8 changed files with 68 additions and 11 deletions

View File

@ -1,5 +1,5 @@
# Noninteractive UI
# Copyright (C) 2002-2012 John Goerzen & contributors
# Copyright (C) 2002-2016 John Goerzen & contributors.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -16,11 +16,13 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import logging
from offlineimap.ui.UIBase import UIBase
import offlineimap
from offlineimap.ui.UIBase import UIBase
class Basic(UIBase):
"""'Basic' simply sets log level to INFO"""
"""'Basic' simply sets log level to INFO."""
def __init__(self, config, loglevel = logging.INFO):
return super(Basic, self).__init__(config, loglevel)