use 'prelude' note 'preamble' for the intro sections for a release

Change-Id: I4c17a329ebc82915963a587042e02db26d699955
This commit is contained in:
Doug Hellmann
2015-08-27 18:14:19 +00:00
parent f4ed0baabf
commit d95b74044a
2 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
---
fixes:
- Fixed the section used in the report to include the prelude in the output.

View File

@@ -49,11 +49,11 @@ def format_report(scanner_output, versions_to_include):
report.append('=' * len(version))
report.append('')
# Add the preambles.
# Add the preludes.
notefiles = scanner_output[version]
for n in notefiles:
if 'preamble' in file_contents[n]:
report.append(file_contents[n]['preamble'])
if 'prelude' in file_contents[n]:
report.append(file_contents[n]['prelude'])
report.append('')
for section_name, section_title in _SECTION_ORDER: