mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:22:16 +02:00
Really never echo terminal codes in quiet mode
This commit is contained in:
@@ -95,8 +95,9 @@ class Reporter(object):
|
|||||||
continue
|
continue
|
||||||
if no_exception or msg.on_crash:
|
if no_exception or msg.on_crash:
|
||||||
if bold_on and msg.priority > self.HIGH_PRIORITY:
|
if bold_on and msg.priority > self.HIGH_PRIORITY:
|
||||||
sys.stdout.write(le_util.ANSI_SGR_RESET)
|
if not self.config.quiet:
|
||||||
bold_on = False
|
sys.stdout.write(le_util.ANSI_SGR_RESET)
|
||||||
|
bold_on = False
|
||||||
lines = msg.text.splitlines()
|
lines = msg.text.splitlines()
|
||||||
print(first_wrapper.fill(lines[0]))
|
print(first_wrapper.fill(lines[0]))
|
||||||
if len(lines) > 1:
|
if len(lines) > 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user