mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-23 11:39:52 +00:00
Avoid splitting file names across lines in problem reports
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -99,7 +99,8 @@ class Problem(abc.ABC): # pylint: disable=too-few-public-methods
|
|||||||
# Class variable to control the quietness of all problems
|
# Class variable to control the quietness of all problems
|
||||||
quiet = False
|
quiet = False
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.textwrapper = textwrap.TextWrapper()
|
self.textwrapper = textwrap.TextWrapper(break_on_hyphens=False,
|
||||||
|
break_long_words=False)
|
||||||
self.textwrapper.width = 80
|
self.textwrapper.width = 80
|
||||||
self.textwrapper.initial_indent = " > "
|
self.textwrapper.initial_indent = " > "
|
||||||
self.textwrapper.subsequent_indent = " "
|
self.textwrapper.subsequent_indent = " "
|
||||||
|
|||||||
Reference in New Issue
Block a user