CRC checker: Sort and indent dict output 26/22026/4
authorVratko Polak <vrpolak@cisco.com>
Thu, 12 Sep 2019 13:45:31 +0000 (15:45 +0200)
committerVratko Polak <vrpolak@cisco.com>
Fri, 13 Sep 2019 08:31:40 +0000 (10:31 +0200)
commit8be5c3483fffdc62550f74acf8ccba2123547bb5
tree9e0bb04d6eb0ba2722ac60ac8bbc8554bf5d331b
parent17220bfce36c723a3ca6fdd1ef757709ab50f4eb
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>
resources/libraries/python/VppApiCrc.py