Merge pull request #48 from garyvdm/master
Fix minor bug in error message text.
This commit is contained in:
@@ -106,3 +106,4 @@ Contributors
|
||||
- Mathieu Le Marec - Pasquet (kiorky), 2011/07/11
|
||||
- Atsushi Odagiri, 2012/02/04
|
||||
- Daniel Nouri, 2012/03/28
|
||||
- Gary van der Merwe, 2012/04/05
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user