summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2016-09-06 15:51:46 +0200
committerAnthon van der Neut <anthon@mnt.org>2016-09-06 15:51:46 +0200
commit638e60fb605e19974168c1317925250096dbf333 (patch)
tree039da1f4cfe32e28b4d58430e171800dcb9a73d1
parent8698c2d3a84848e48af1c252898370664feb266e (diff)
downloadruamel.yaml-0.12.12.tar.gz
removed leftover print statement0.12.12
-rw-r--r--__init__.py2
-rw-r--r--scanner.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/__init__.py b/__init__.py
index 3085993..9a8d456 100644
--- a/__init__.py
+++ b/__init__.py
@@ -9,7 +9,7 @@ from __future__ import absolute_import
_package_data = dict(
full_package_name="ruamel.yaml",
- version_info=(0, 12, 11),
+ version_info=(0, 12, 12),
author="Anthon van der Neut",
author_email="a.van.der.neut@ruamel.eu",
description="ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order", # NOQA
diff --git a/scanner.py b/scanner.py
index f37e656..fbe190c 100644
--- a/scanner.py
+++ b/scanner.py
@@ -1653,9 +1653,8 @@ class RoundTripScanner(Scanner):
while ch:
ch = self.scan_line_break(empty_line=True)
comment += ch
- if self.peek() == '#': # empty line followed by indented real cmment
+ if self.peek() == '#': # empty line followed by indented real comment
comment = comment.rsplit('\n', 1)[0] + '\n'
- print('comment', repr(comment), self.peek() == '#')
end_mark = self.get_mark()
return comment, start_mark, end_mark
else: