Reformat offlineimap/ui/Machine.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:56:37 +02:00
parent 9aa2344fd4
commit d31c5891ba

View File

@ -24,6 +24,7 @@ from offlineimap.ui.UIBase import UIBase
protocol = '7.2.0' protocol = '7.2.0'
class MachineLogFormatter(logging.Formatter): class MachineLogFormatter(logging.Formatter):
"""urlencodes any outputted line, to avoid multi-line output""" """urlencodes any outputted line, to avoid multi-line output"""
@ -178,7 +179,6 @@ class MachineUI(UIBase):
time.sleep(sleepsecs) time.sleep(sleepsecs)
return 0 return 0
def getpass(s, username, config, errmsg=None): def getpass(s, username, config, errmsg=None):
if errmsg: if errmsg:
s._printData(s.logger.warning, s._printData(s.logger.warning,