From abf0bf998dcb20807195018bfdd7abca2930dbbd Mon Sep 17 00:00:00 2001 From: John Snow Date: Thu, 27 Jun 2019 17:28:14 -0400 Subject: python/qemu: split QEMUMachine out from underneath __init__.py It's not obvious that something named __init__.py actually houses important code that isn't relevant to python packaging glue. Move the QEMUMachine and related error classes out into their own module. Adjust users to the new import location. Signed-off-by: John Snow Message-Id: <20190627212816.27298-2-jsnow@redhat.com> Signed-off-by: Eduardo Habkost --- scripts/render_block_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/render_block_graph.py') diff --git a/scripts/render_block_graph.py b/scripts/render_block_graph.py index 3e9d282a49..656f0388ad 100755 --- a/scripts/render_block_graph.py +++ b/scripts/render_block_graph.py @@ -25,7 +25,7 @@ import json from graphviz import Digraph sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'python')) -from qemu import MonitorResponseError +from qemu.machine import MonitorResponseError def perm(arr): -- cgit v1.2.3