diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-09-12 15:45:31 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-09-13 10:31:40 +0200 |
commit | 8be5c3483fffdc62550f74acf8ccba2123547bb5 (patch) | |
tree | 9e0bb04d6eb0ba2722ac60ac8bbc8554bf5d331b /resources/traffic_scripts/policer.py | |
parent | 17220bfce36c723a3ca6fdd1ef757709ab50f4eb (diff) |
CRC checker: Sort and indent dict output
Also, use double quotes, so the dict is shown
not only as a valid Python code, but also a valid JSON.
This should make it easier to handle big CRC changes such as:
https://logs.fd.io/production/vex-yul-rot-jenkins-1
/vpp-csit-verify-api-crc-master/646/console.log.gz
+ Log indented message about CRC conflict to console even on failure,
as in the exception, endlines are escaped.
Change-Id: If4fe3003f612d4b0c156004a0aa2dab088e50723
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/traffic_scripts/policer.py')
0 files changed, 0 insertions, 0 deletions