[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 5/5] python/qemu: Remove unneeded imports in __init__
From: |
Wainer dos Santos Moschetta |
Subject: |
[PATCH v4 5/5] python/qemu: Remove unneeded imports in __init__ |
Date: |
Mon, 16 Dec 2019 16:14:38 -0300 |
__init_.py import some sub-modules unnecessarily. So let's
clean it up.
Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Suggested-by: Cleber Rosa <address@hidden>
Reviewed-by: Cleber Rosa <address@hidden>
Tested-by: Cleber Rosa <address@hidden>
---
python/qemu/__init__.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/python/qemu/__init__.py b/python/qemu/__init__.py
index eff17a306e..4ca06c34a4 100644
--- a/python/qemu/__init__.py
+++ b/python/qemu/__init__.py
@@ -9,9 +9,3 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
-# Based on qmp.py.
-#
-
-from . import qmp
-from . import machine
-from . import accel
--
2.23.0
- [PATCH v4 0/5] python/qemu: New accel module and improvements, Wainer dos Santos Moschetta, 2019/12/16
- [PATCH v4 1/5] python/qemu: Move kvm_available() to its own module, Wainer dos Santos Moschetta, 2019/12/16
- [PATCH v4 2/5] python/qemu: accel: Add list_accel() method, Wainer dos Santos Moschetta, 2019/12/16
- [PATCH v4 3/5] python/qemu: accel: Strengthen kvm_available() checks, Wainer dos Santos Moschetta, 2019/12/16
- [PATCH v4 4/5] python/qemu: accel: Add tcg_available() method, Wainer dos Santos Moschetta, 2019/12/16
- [PATCH v4 5/5] python/qemu: Remove unneeded imports in __init__,
Wainer dos Santos Moschetta <=
- Re: [PATCH v4 0/5] python/qemu: New accel module and improvements, Cleber Rosa, 2019/12/16