Changeset 347

Show
Ignore:
Timestamp:
03/28/09 08:49:11 (3 years ago)
Author:
xi
Message:

Fixed a bug where folded scalar emitter did not respect the preffered line width (Thanks ingy for the report and the patch).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/lib/yaml/emitter.py

    r345 r347  
    10281028                if ch is None or ch in u' \n\x85\u2028\u2029': 
    10291029                    data = text[start:end] 
     1030                    self.column += len(data) 
    10301031                    if self.encoding: 
    10311032                        data = data.encode(self.encoding)