Fix minor bug in error message text.
This commit is contained in:
@@ -371,7 +371,7 @@ class SchemaType(object):
|
|||||||
raise AssertionError("Can't call 'set_value' on a leaf node.")
|
raise AssertionError("Can't call 'set_value' on a leaf node.")
|
||||||
|
|
||||||
def get_value(self, node, appstruct, path):
|
def get_value(self, node, appstruct, path):
|
||||||
raise AssertionError("Can't call 'set_value' on a leaf node.")
|
raise AssertionError("Can't call 'get_value' on a leaf node.")
|
||||||
|
|
||||||
class Mapping(SchemaType):
|
class Mapping(SchemaType):
|
||||||
""" A type which represents a mapping of names to nodes.
|
""" A type which represents a mapping of names to nodes.
|
||||||
|
Reference in New Issue
Block a user