summaryrefslogtreecommitdiff
path: root/jsonschema/exceptions.py
diff options
context:
space:
mode:
authorJoep van Dijken <joebie13@gmail.com>2016-05-17 22:56:03 +0200
committerJoep van Dijken <joebie13@gmail.com>2016-05-17 22:56:03 +0200
commit90ade39f6460cebb2225f431763badd99f07236b (patch)
tree47282b4ac7a9c6f54566baebc80487221d232a71 /jsonschema/exceptions.py
parentaa2cd272c880e4f3dd7352775fd1504fc745aa68 (diff)
downloadjsonschema-90ade39f6460cebb2225f431763badd99f07236b.tar.gz
Minor for in ErrorTree for multiple errors on different levels.
Diffstat (limited to 'jsonschema/exceptions.py')
-rw-r--r--jsonschema/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonschema/exceptions.py b/jsonschema/exceptions.py
index 3f3b4b4..829034c 100644
--- a/jsonschema/exceptions.py
+++ b/jsonschema/exceptions.py
@@ -196,7 +196,7 @@ class ErrorTree(object):
container = container[element]
container.errors[error.validator] = error
- self._instance = error.instance
+ container._instance = error.instance
def __contains__(self, index):
"""