analyze-migration.py: fix read_migration_debug_json() return type
commit14f9cec7132bc60f9839048b0a0f8ef7ae9ed64c
authorAlexey Kirillov <lekiravi@yandex-team.ru>
Wed, 15 Jul 2020 15:21:35 +0000 (15 18:21 +0300)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 18 Sep 2020 18:00:32 +0000 (18 14:00 -0400)
tree2556624d082e281a36df339c0839b56baafe5468
parent1b7306f5dd7a80f4797c1644d539409031663782
analyze-migration.py: fix read_migration_debug_json() return type

Since we use result of read_migration_debug_json() as JSON formatted string,
we must provide proper type. Before Python 3.6 json.loads() method
support only str typed input.

Signed-off-by: Alexey Kirillov <lekiravi@yandex-team.ru>
Message-Id: <20200715152135.20287-1-lekiravi@yandex-team.ru>
[ehabkost: added comment explaining why decode() is needed}
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
scripts/analyze-migration.py