Comment 2 for bug 1571971

Revision history for this message
Jason Dunsmore (jasondunsmore) wrote :

It looks like a pyyaml bug.

With semicolon only:

> yaml.load('description: First heat hot template used to demonstrate the hot template sections.\n\n\n\nfoo: bar'
{'description': 'First heat hot template used to demonstrate the hot template sections.',
 'foo': 'bar'}

With multi line char ">":

> yaml.load('description: >\n First heat hot template used to demonstrate the hot template sections.\n\n\n\nfoo: bar')
{'description': 'First heat hot template used to demonstrate the hot template sections.\n',
 'foo': 'bar'}