Reformat offlineimap/ui/noninteractive.py

Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-29 19:57:49 +02:00
parent d31c5891ba
commit 8bae38ed93

View File

@ -20,19 +20,24 @@ import logging
import offlineimap
from offlineimap.ui.UIBase import UIBase
class Basic(UIBase):
"""'Basic' simply sets log level to INFO."""
def __init__(self, config, loglevel=logging.INFO):
return super(Basic, self).__init__(config, loglevel)
class Quiet(UIBase):
"""'Quiet' simply sets log level to WARNING"""
def __init__(self, config, loglevel=logging.WARNING):
return super(Quiet, self).__init__(config, loglevel)
class Syslog(UIBase):
"""'Syslog' sets log level to INFO and outputs to syslog instead of stdout"""
def __init__(self, config, loglevel=logging.INFO):
return super(Syslog, self).__init__(config, loglevel)