Changeset 347


Ignore:
Timestamp:
03/28/09 08:49:11 (5 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).

File:
1 edited

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) 
Note: See TracChangeset for help on using the changeset viewer.