summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Anderson <sontek@gmail.com>2013-10-17 20:23:03 -0700
committerJohn Anderson <sontek@gmail.com>2013-10-17 20:23:03 -0700
commit9440940677ebda454dbff2c5ce4d5376a0dfdb9a (patch)
tree6268e55d8d58ae16da207ec2e1e50ad3501cf959
parent1963981389d3a8e462af935f9e82759ff17654ae (diff)
downloadjsonschema-9440940677ebda454dbff2c5ce4d5376a0dfdb9a.tar.gz
Cleaned up output
-rw-r--r--jsonschema/exceptions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/jsonschema/exceptions.py b/jsonschema/exceptions.py
index b24478a..30419ae 100644
--- a/jsonschema/exceptions.py
+++ b/jsonschema/exceptions.py
@@ -97,7 +97,6 @@ class UnknownType(Exception):
self.type = type
self.instance = instance
self.schema = schema
- self.msg = "OMGZ"
def __str__(self):
return self.__unicode__()
@@ -106,7 +105,7 @@ class UnknownType(Exception):
pschema = pprint.pformat(self.schema, width=72)
pinstance = pprint.pformat(self.instance, width=72)
return textwrap.dedent("""
- unknown type %s, in schema:
+ Uknown Type: %s, in schema:
%r
On instance: