Fix minor bug in error message text.

This commit is contained in:
Gary van der Merwe
2012-04-05 15:34:15 +02:00
parent 7233fa8d75
commit fbe1312579

View File

@@ -371,7 +371,7 @@ class SchemaType(object):
raise AssertionError("Can't call 'set_value' on a leaf node.")
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):
""" A type which represents a mapping of names to nodes.