62eb2996d5
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
(cherry picked from commit f997e3da60
)
6 lines
197 B
YAML
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.
|