From f438644ec34751b37a99a9fb51cea1c80f803b7b Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 7 Jan 2016 23:40:18 +0000 Subject: [PATCH] Don't sort the properties in object schemas It makes more sense for us to order the properties manually in the yaml file, rather than forcing their alphabeticising. --- templating/matrix_templates/units.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templating/matrix_templates/units.py b/templating/matrix_templates/units.py index a76c7e16..a57c2786 100644 --- a/templating/matrix_templates/units.py +++ b/templating/matrix_templates/units.py @@ -151,7 +151,7 @@ def get_json_schema_object_fields(obj, enforce_title=False, include_parents=Fals tables = [fields] - for key_name in sorted(props): + for key_name in props: logger.debug("Processing property %s.%s", obj.get('title'), key_name) value_type = None required = key_name in required_keys