summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorAkihiro Motoki <amotoki@gmail.com>2020-09-04 07:43:40 +0900
committerAkihiro Motoki <amotoki@gmail.com>2020-09-04 08:08:31 +0900
commitd7b2995d587ef568d57e66ff62d764058c1254f0 (patch)
treee8181001c4d8cc5cd1e4815012624e1ea7cc0f24 /requirements.txt
parentc6ed9f33a55727e2411eae432f379b56ba9b9a6c (diff)
downloadoslo-policy-d7b2995d587ef568d57e66ff62d764058c1254f0.tar.gz
sample-generator: Improve YAML output
This commit makes the following minor improvements in YAML output of oslopolicy-sample-generator. * Add a blank line between policies. Previously when a deprecated rule exists there was no blank line between the deprecated rule and the next rule. It was not easy to identify the beginning of the next rule. * Drop unnecessary blank line comment. If a policy is defined by RuleDefault instead of DocumentedRuleDefault there is no description and unnecessary blank line comment was added in an output YAML file. * Honor newlines in deprecated_text. Previously newlines in deprecated_text were dropped by _format_help_text(). Main deprecation message and reason are processed separately and newlines are not dropped now. Change-Id: I75889a1b05344a47135419d0553525f54c1a51b8
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions