tripleo-heat-templates/releasenotes/notes/nic-config-script-handle-blank-line-f86553d7589826ed.yaml
Bob Fournier f997e3da60 Handle blank lines followed by comment in nic conversion script
Currently if a blank line is followed by a comment the 'last_non_comment_spaces'
variable gets reset, which results in the comment line not being indented.
This just ignores blank lines so that 'last_non_comment_spaces' isn't reset
and the comment line is properly indented.

Closes-Bug: 1779191
Change-Id: I286da578c42df24242ba38df12d42c8a8fdd4a4f
2018-06-29 08:02:12 +00:00

6 lines
197 B
YAML

---
fixes:
- This fixes an issue with the yaml-nic-config-2-script.py script
that converts old-style nic config files to new-style. It now handles
blank lines followed by a comment line.