This commit is contained in:
Richard Gibson 2021-07-16 18:53:59 -04:00 committed by Rick Waldron
parent 3b06fd012a
commit bf0297c0a4

View File

@ -15,7 +15,7 @@ def parse_yaml(string):
# dedent truncates only-whitespace lines,
# so run it against a transformed string
# in which every line is terminated by a dot
# in which every line is terminated by a tilde
terminated = endOfLine.sub(r'\1~', match.group(1))
dedented_terminated = textwrap.dedent(terminated)
dedented = endOfLine.sub('', dedented_terminated)