diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-08-09 10:53:34 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-08-09 10:53:34 +0200 |
commit | bb292fb88d1e5f6d8a3139e94e0678ce4c55ac1f (patch) | |
tree | b8fc4a58e4c3edb3bf1214f88c5bf72b13eda87d /tokens.py | |
parent | 56035ae630d159ce4d4f32264d3f992a24d6014f (diff) | |
download | ruamel.yaml-bb292fb88d1e5f6d8a3139e94e0678ce4c55ac1f.tar.gz |
remove debug statements
Diffstat (limited to 'tokens.py')
-rw-r--r-- | tokens.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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): |