mirror of
https://github.com/certbot/certbot.git
synced 2026-07-24 23:03:42 +02:00
log.DialogHandler: print formatted record, not just message.
Fixes bug, where DialogHandler would display only %(message) part of the record, instead of the entire formatted record string.
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ class DialogHandler(logging.Handler): # pylint: disable=too-few-public-methods
|
||||
lines.
|
||||
|
||||
"""
|
||||
for line in record.getMessage().splitlines():
|
||||
for line in self.format(record).splitlines():
|
||||
# check for lines that would wrap
|
||||
cur_out = line
|
||||
while len(cur_out) > self.width:
|
||||
|
||||
Reference in New Issue
Block a user