Changeset 158


Ignore:
Timestamp:
05/11/06 17:27:20 (9 years ago)
Author:
xi
Message:

Fix a bug in add_path_resolver: map -> dict.

File:
1 edited

Legend:

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

    r155 r158  
    5252            elif node_check is list: 
    5353                node_check = SequenceNode 
    54             elif node_check is map: 
     54            elif node_check is dict: 
    5555                node_check = MappingNode 
    5656            elif node_check not in [ScalarNode, SequenceNode, MappingNode]  \ 
     
    6666        elif kind is list: 
    6767            kind = SequenceNode 
    68         elif kind is map: 
     68        elif kind is dict: 
    6969            kind = MappingNode 
    7070        elif kind not in [ScalarNode, SequenceNode, MappingNode]    \ 
Note: See TracChangeset for help on using the changeset viewer.