summaryrefslogtreecommitdiff
path: root/tokens.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-08-09 10:53:34 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-08-09 10:53:34 +0200
commitbb292fb88d1e5f6d8a3139e94e0678ce4c55ac1f (patch)
treeb8fc4a58e4c3edb3bf1214f88c5bf72b13eda87d /tokens.py
parent56035ae630d159ce4d4f32264d3f992a24d6014f (diff)
downloadruamel.yaml-bb292fb88d1e5f6d8a3139e94e0678ce4c55ac1f.tar.gz
remove debug statements
Diffstat (limited to 'tokens.py')
-rw-r--r--tokens.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tokens.py b/tokens.py
index e36aca0..e5bac6b 100644
--- a/tokens.py
+++ b/tokens.py
@@ -51,9 +51,9 @@ class Token(object):
ScalarToken that follows it
empty is a special for empty values -> comment after key
"""
- if self.comment is not None:
- print('mci:', self, target, getattr(self, '_comment', None),
- getattr(target, '_comment', None), empty)
+ # if self.comment is not None:
+ # print('mci:', self, target, getattr(self, '_comment', None),
+ # getattr(target, '_comment', None), empty)
c = self.comment
if c is None:
return
@@ -71,7 +71,7 @@ class Token(object):
if empty:
c = [c[0], c[1], None, None, c[0]]
target._comment = c
- print('mco2:', self, target, target.comment, empty)
+ # nprint('mco2:', self, target, target.comment, empty)
return self
if c[0] and tc[0] or c[1] and tc[1]:
raise NotImplementedError('overlap in comment %r %r' % c, tc)
@@ -86,7 +86,7 @@ class Token(object):
# tc.append(d[0])
# else:
# raise NotImplementedError
- print('mco:', self, target, target.comment, empty)
+ # nprint('mco:', self, target, target.comment, empty)
return self
def split_comment(self):