Skip to content
Snippets Groups Projects
Commit 14f9cec7 authored by Alexey Kirillov's avatar Alexey Kirillov Committed by Eduardo Habkost
Browse files

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: default avatarAlexey 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: default avatarEduardo Habkost <ehabkost@redhat.com>
parent 1b7306f5
No related branches found
No related tags found
No related merge requests found
Loading
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