summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2019-08-15 13:14:08 +0200
committerAnthon van der Neut <anthon@mnt.org>2019-08-15 13:14:08 +0200
commitc3ac95be03b0166b5910675f1d07c4d00db9dff8 (patch)
tree4f176d05d3ae63b68a50b7bbcf027d4fb2088de3 /main.py
parentff8e03fe5542a9d7930a5720450c59bb9e9eaaf3 (diff)
downloadruamel.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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index 0785c95..2d5103e 100644
--- a/main.py
+++ b/main.py
@@ -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