Fixed a typo in the attribute name (Thanks ingy).

This commit is contained in:
Kirill Simonov 2008-12-30 20:23:49 +00:00
parent 466bc3865c
commit 6f51a53a6b
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class Serializer(object):
self.emit(DocumentEndEvent(explicit=self.use_explicit_end))
self.serialized_nodes = {}
self.anchors = {}
self.last_alias_id = 0
self.last_anchor_id = 0
def anchor_node(self, node):
if node in self.anchors:

View File

@ -55,7 +55,7 @@ class Serializer:
self.emit(DocumentEndEvent(explicit=self.use_explicit_end))
self.serialized_nodes = {}
self.anchors = {}
self.last_alias_id = 0
self.last_anchor_id = 0
def anchor_node(self, node):
if node in self.anchors: