Merge "Sort properties to ease comparison."

This commit is contained in:
Treehugger Robot
2021-03-01 08:03:50 +00:00
committed by Gerrit Code Review

View File

@@ -50,7 +50,7 @@ def get_variation(json_rel_path):
# convert .bp prop dictionary to .bp prop string
def gen_bp_prop(prop, ind):
bp = ''
for key in prop:
for key in sorted(prop):
val = prop[key]
# Skip empty list or dict, rather than printing empty prop like