Skip to content

tools-release-5.15.0-1

@micque01 micque01 tagged this 22 Jan 10:22
This call to sorted does nothing in Python 2, as there is no way to sort a list
of Exceptions without providing a key.

In Python 3 this call fails with an error as there is no comparison implemented
for the jsonschema.exceptions.ValidationError Exception.

This is fixed by providing the key str, which sorts by the str representation of
the Exception.
Assets 2
Loading