Skip to content
Snippets Groups Projects
Commit 9d91c6ab authored by Guido Trotter's avatar Guido Trotter
Browse files

_PrintGroupedParams: sort before printing


It's a lot easier, when looking at the output, if you can search the
parameter you're looking for alphabetically.

Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent f28ec899
No related branches found
No related tags found
No related merge requests found
......@@ -225,7 +225,7 @@ def _PrintGroupedParams(paramsdict, level=1):
"""
indent = " " * level
for item, val in paramsdict.items():
for item, val in sorted(paramsdict.items()):
if isinstance(val, dict):
ToStdout("%s- %s:", indent, item)
_PrintGroupedParams(val, level=level + 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment