Index: pyyaml/trunk/lib/yaml/resolver.py
===================================================================
--- pyyaml/trunk/lib/yaml/resolver.py	(revision 155)
+++ pyyaml/trunk/lib/yaml/resolver.py	(revision 158)
@@ -52,5 +52,5 @@
             elif node_check is list:
                 node_check = SequenceNode
-            elif node_check is map:
+            elif node_check is dict:
                 node_check = MappingNode
             elif node_check not in [ScalarNode, SequenceNode, MappingNode]  \
@@ -66,5 +66,5 @@
         elif kind is list:
             kind = SequenceNode
-        elif kind is map:
+        elif kind is dict:
             kind = MappingNode
         elif kind not in [ScalarNode, SequenceNode, MappingNode]    \
