oslo.policy/releasenotes/notes
Lance Bragstad 0f31938dd7 Remove erroneous newline in sample generation
The sample generation code for policies has a couple different cases
that make sure deprecated rules have descriptions and reasoning
formatted in the comment section. One of the cases that handles
policies deprecated for removal was injecting an extra newline in the
comment text that threw off the formatting of the sample, leaving
the subsequent policy uncommented, and visually unpleasing.

This commit removes the extra newline in the formatting logic for
deprecated policies and adds a test case for the behavior.

Change-Id: I76338d2fbaccf3b43e0da04732fd9df3c05dfbda
Closes-Bug: 1771442
2018-06-01 21:25:19 +00:00
..
add-sphinxpolicygen-39e2f8fa24930b0c.yaml Add sphinx extension to build sample policy 2016-09-28 10:59:14 +01:00
add_custom_rule_check_plugins-3c15c2c7ca5e.yaml Documentation and release notes for plugins 2017-10-16 11:49:31 +00:00
add_reno-3b4ae0789e9c45b4.yaml Add reno for release notes management 2016-05-20 18:08:13 +03:00
enforce_scope_types-1e92f6a34e4173ef.yaml Add a release note for enforce_scope 2018-01-02 17:37:44 +00:00
fix-rendering-for-deprecated-rules-d465292e4155f483.yaml Remove erroneous newline in sample generation 2018-06-01 21:25:19 +00:00
oslo-policy-descriptive-support-3ee688c5fa48d751.yaml Add release note for DocumentedRuleDefault 2017-03-22 15:02:13 +00:00