Ticket #131: emitter-patch.txt

File emitter-patch.txt, 735 bytes (added by anonymous, 5 years ago)
Line 
1### Eclipse Workspace Patch 1.0
2#P pyyaml-trunk
3Index: lib/yaml/emitter.py
4===================================================================
5--- lib/yaml/emitter.py (revision 347)
6+++ lib/yaml/emitter.py (working copy)
7@@ -71,7 +71,6 @@
8         #  - is it a whitespace?
9         #  - is it an indention character
10         #    (indentation space, '-', '?', or ':')?
11-        self.line = 0
12         self.column = 0
13         self.whitespace = True
14         self.indention = True
15@@ -826,7 +825,6 @@
16             data = self.best_line_break
17         self.whitespace = True
18         self.indention = True
19-        self.line += 1
20         self.column = 0
21         if self.encoding:
22             data = data.encode(self.encoding)