summaryrefslogtreecommitdiff
path: root/constructor.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-08-09 16:48:27 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-08-09 16:48:27 +0200
commit1c728e7d84c177f1c97940b2cf4927f0fa7455c5 (patch)
treee8359e39ecab815ef73496acba867ff208495964 /constructor.py
parent291b2e6757d22061acb8ee9a581dc04e3a791847 (diff)
downloadruamel.yaml-1c728e7d84c177f1c97940b2cf4927f0fa7455c5.tar.gz
fix issue #25: dropping comment between mapping key and value0.15.24
Diffstat (limited to 'constructor.py')
-rw-r--r--constructor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/constructor.py b/constructor.py
index e91961e..dcf8e02 100644
--- a/constructor.py
+++ b/constructor.py
@@ -1052,7 +1052,7 @@ class RoundTripConstructor(SafeConstructor):
lead0 += 1
idx += 1
return lead0
- underscore = None
+ # underscore = None
m_sign = False # type: Any
value_so = to_str(self.construct_scalar(node))
value_s = value_so.replace('_', '').lower()