Skip to content

Commit 7cebc7b

Browse files
committed
Formatting.
1 parent a471d04 commit 7cebc7b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

jsonschema/exceptions.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ def __str__(self):
4848
return unicode(self).encode("utf-8")
4949

5050
def __unicode__(self):
51-
if any(m is _unset for m in (
52-
self.validator, self.validator_value, self.instance, self.schema
53-
)):
51+
essential_for_verbose = (
52+
self.validator, self.validator_value, self.instance, self.schema,
53+
)
54+
if any(m is _unset for m in essential_for_verbose):
5455
return self.message
5556

5657
pschema = pprint.pformat(self.schema, width=72)

0 commit comments

Comments
 (0)