From: nguyen van hieu When using the --show-description option CVEs had blank lines between them. Remove them to make it more compact. Signed-off-by: nguyen van hieu Signed-off-by: Daniel Sangorrin --- scripts/report_affected.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/report_affected.py b/scripts/report_affected.py index a181d97..9894602 100755 --- a/scripts/report_affected.py +++ b/scripts/report_affected.py @@ -141,7 +141,7 @@ def main(git_repo, remotes, only_fixed_upstream, wrap_description = '' for line in textwrap.wrap(description, 80, break_long_words=False): wrap_description += line + '\n ' - print(cve_id, '=>',wrap_description) + print(cve_id, '=>',wrap_description.strip()) else: print('%s:' % branch['full_name'], *sorted_cve_ids) -- 2.25.1