mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
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 <jsnow@redhat.com> Message-Id: <20190627212816.27298-2-jsnow@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
08aa87f5e7
commit
abf0bf998d
10 changed files with 540 additions and 519 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue