summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPradyun Gedam <pradyunsg@users.noreply.github.com>2021-10-22 08:16:04 +0100
committerPradyun Gedam <pradyunsg@users.noreply.github.com>2021-10-22 08:16:04 +0100
commit14f8803bf867f363ac9efdccad6a08558a94059f (patch)
tree9f01d0ef32c26f6c3097d1e27140fc11338ccf60 /tools
parent4144d6a7f98ff123df43d2b69b15a8289f336ff1 (diff)
downloadpip-14f8803bf867f363ac9efdccad6a08558a94059f.tar.gz
Add a missing newline to fix the newfile rendering
towncrier renders with `trim_blocks=True` which trims the newline at the start of the for loop's body. This adds an additional newline which is not trimmed, which ensures that the code blocks don't blend into each other.
Diffstat (limited to 'tools')
-rw-r--r--tools/news/template.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/news/template.rst b/tools/news/template.rst
index 856b5610a..fcedf6677 100644
--- a/tools/news/template.rst
+++ b/tools/news/template.rst
@@ -33,6 +33,7 @@
{# This is the loop that generates individual entries #}
{% for message, issue_reference in sections[section_name][type_]|dictsort(by='value') %}
+
- {{ message }}
{%- if type_ not in ["vendor", "process"] %} ({{ issue_reference|sort|join(', ') }}){% endif %}
{% endfor %}