mirror of https://github.com/ARMmbed/mbed-os.git
ce0d611dd0
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. |
||
---|---|---|
.. | ||
__init__.py | ||
definitions.json | ||
header.tmpl | ||
schema_app.json | ||
schema_lib.json |