diff options
author | Anthon van der Neut <anthon@mnt.org> | 2019-08-15 13:14:08 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2019-08-15 13:14:08 +0200 |
commit | c3ac95be03b0166b5910675f1d07c4d00db9dff8 (patch) | |
tree | 4f176d05d3ae63b68a50b7bbcf027d4fb2088de3 /main.py | |
parent | ff8e03fe5542a9d7930a5720450c59bb9e9eaaf3 (diff) | |
download | ruamel.yaml-c3ac95be03b0166b5910675f1d07c4d00db9dff8.tar.gz |
allow # in 1.2 URI's0.16.2
fixes issue #305
*When this change indeed resolves your problem, please **Close** this issue*.
*(You can do so using the WorkFlow pull-down (close to the top right of this page))*
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -161,7 +161,8 @@ class YAML(object): self.tags = None self.default_style = None self.top_level_block_style_scalar_no_indent_error_1_1 = False - self.scalar_after_indicator = None # directives end indicator with single scalar document + # directives end indicator with single scalar document + self.scalar_after_indicator = None # [a, b: 1, c: {d: 2}] vs. [a, {b: 1}, {c: {d: 2}}] self.brace_single_entry_mapping_in_flow_sequence = False |