Changeset 307
- Timestamp:
- 12/08/08 04:12:10 (4 years ago)
- Location:
- pyyaml/trunk/lib/yaml
- Files:
-
- 2 edited
-
dumper.py (modified) (1 diff)
-
emitter.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/lib/yaml/dumper.py
r152 r307 17 17 Emitter.__init__(self, stream, canonical=canonical, 18 18 indent=indent, width=width, 19 allow_un code=allow_unicode, line_break=line_break)19 allow_unicode=allow_unicode, line_break=line_break) 20 20 Serializer.__init__(self, encoding=encoding, 21 21 explicit_start=explicit_start, explicit_end=explicit_end, -
pyyaml/trunk/lib/yaml/emitter.py
r304 r307 11 11 from error import YAMLError 12 12 from events import * 13 14 import re15 13 16 14 class EmitterError(YAMLError): … … 1112 1110 data = data.encode(self.encoding) 1113 1111 self.stream.write(data) 1114 self.w ritespace = False1112 self.whitespace = False 1115 1113 self.indention = False 1116 1114 spaces = False … … 1125 1123 if start+1 == end and self.column > self.best_width and split: 1126 1124 self.write_indent() 1127 self.w ritespace = False1125 self.whitespace = False 1128 1126 self.indention = False 1129 1127 else:
Note: See TracChangeset
for help on using the changeset viewer.
