summary refs log tree commit diff stats
path: root/python/qemu/qtest.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2019-06-27 17:28:14 -0400
committerEduardo Habkost <ehabkost@redhat.com>2019-07-01 19:02:10 -0300
commitabf0bf998dcb20807195018bfdd7abca2930dbbd (patch)
tree1e8edb1d32d794a2ca1ac2e43bdffa7777155c36 /python/qemu/qtest.py
parent08aa87f5e78270c3b225eb5c89c069aa9f49f5c1 (diff)
downloadfocaccia-qemu-abf0bf998dcb20807195018bfdd7abca2930dbbd.tar.gz
focaccia-qemu-abf0bf998dcb20807195018bfdd7abca2930dbbd.zip
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>
Diffstat (limited to 'python/qemu/qtest.py')
-rw-r--r--python/qemu/qtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qemu/qtest.py b/python/qemu/qtest.py
index eb45824dd0..eebcc233ed 100644
--- a/python/qemu/qtest.py
+++ b/python/qemu/qtest.py
@@ -14,7 +14,7 @@
 import socket
 import os
 
-from . import QEMUMachine
+from .machine import QEMUMachine
 
 
 class QEMUQtestProtocol(object):