Ignore:
Timestamp:
08/16/06 17:07:47 (8 years ago)
Author:
xi
Message:

The 'N' plain scalar was still recognized as !!bool. Fix it (close #26).

File:
1 edited

Legend:

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

    r223 r226  
    154154Resolver.add_implicit_resolver( 
    155155        u'tag:yaml.org,2002:bool', 
    156         re.compile(ur'''^(?:yes|Yes|YES|n|N|no|No|NO 
     156        re.compile(ur'''^(?:yes|Yes|YES|no|No|NO 
    157157                    |true|True|TRUE|false|False|FALSE 
    158158                    |on|On|ON|off|Off|OFF)$''', re.X), 
Note: See TracChangeset for help on using the changeset viewer.