python/aqmp: use absolute import statement
authorJohn Snow <jsnow@redhat.com>
Mon, 10 Jan 2022 19:13:47 +0000 (14:13 -0500)
committerJohn Snow <jsnow@redhat.com>
Mon, 10 Jan 2022 23:22:33 +0000 (18:22 -0500)
commitf75b20e4f16663af4c65657821c5727b1d1c2493
tree22294d83f4fc7bc38add8cd9775442985e6d40fd
parentde3f5223fa4cf8bfc5e3fe1fd495ddf468edcdf7
python/aqmp: use absolute import statement

pylint's dependency astroid appears to have bugs in 2.9.1 and 2.9.2 (Dec
31 and Jan 3) that appear to erroneously expect the qemu namespace to
have an __init__.py file. astroid 2.9.3 (Jan 9) avoids that problem, but
appears to not understand a relative import within a namespace package.

Update the relative import - it was worth changing anyway, because these
packages will eventually be packaged and distributed separately.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
Message-id: 20220110191349.1841027-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/aqmp/aqmp_tui.py