Ignore:
Timestamp:
04/16/06 19:45:21 (8 years ago)
Author:
xi
Message:

Refactor resolver.

File:
1 edited

Legend:

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

    r136 r137  
    55from serializer import * 
    66from representer import * 
    7 from detector import * 
     7from resolver import * 
    88 
    9 class BaseDumper(Emitter, Serializer, BaseRepresenter, BaseDetector): 
     9class BaseDumper(Emitter, Serializer, BaseRepresenter, BaseResolver): 
    1010 
    1111    def __init__(self, stream, 
     
    2121                version=version, tags=tags) 
    2222        Representer.__init__(self) 
    23         Detector.__init__(self) 
     23        Resolver.__init__(self) 
    2424 
    25 class SafeDumper(Emitter, Serializer, SafeRepresenter, Detector): 
     25class SafeDumper(Emitter, Serializer, SafeRepresenter, Resolver): 
    2626 
    2727    def __init__(self, stream, 
     
    3737                version=version, tags=tags) 
    3838        SafeRepresenter.__init__(self) 
    39         Detector.__init__(self) 
     39        Resolver.__init__(self) 
    4040 
    41 class Dumper(Emitter, Serializer, Representer, Detector): 
     41class Dumper(Emitter, Serializer, Representer, Resolver): 
    4242 
    4343    def __init__(self, stream, 
     
    5353                version=version, tags=tags) 
    5454        Representer.__init__(self) 
    55         Detector.__init__(self) 
     55        Resolver.__init__(self) 
    5656 
Note: See TracChangeset for help on using the changeset viewer.