mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 21:25:36 +00:00
Fix error message for long lines with URLs.
Fix typo. Remove line break in string's code formatting, to enable searching the code for particular string. Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
This commit is contained in:
parent
3cfed58227
commit
9b31ad64bb
|
@ -225,9 +225,8 @@ class ChangeLog:
|
|||
for line_number, line in enumerate(body_split, 1):
|
||||
if not self._only_url_re.match(line) and \
|
||||
len(line) > MAX_LINE_LENGTH:
|
||||
long_url_msg = '. URL exceeding length limit must be ' \
|
||||
'alone in it\'s line.' if self._has_url_re.match(line) \
|
||||
else ""
|
||||
long_url_msg = '. URL exceeding length limit must be alone in its line.' \
|
||||
if self._has_url_re.match(line) else ""
|
||||
raise InputFormatError(filename,
|
||||
category.body_line + line_number,
|
||||
'Line is longer than allowed: '
|
||||
|
|
Loading…
Reference in a new issue