Message ID | 20191212125831.2654-6-wainersm@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | python/qemu: New accel module and improvements | expand |
On Thu, Dec 12, 2019 at 07:58:31AM -0500, Wainer dos Santos Moschetta wrote: > __init_.py import some sub-modules unnecessarily. So let's > clean it up. > > Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com> > Suggested-by: Cleber Rosa <crosa@redhat.com> > --- > 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.21.0 > Reviewed-by: Cleber Rosa <crosa@redhat.com> Tested-by: Cleber Rosa <crosa@redhat.com>
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
__init_.py import some sub-modules unnecessarily. So let's clean it up. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Suggested-by: Cleber Rosa <crosa@redhat.com> --- python/qemu/__init__.py | 6 ------ 1 file changed, 6 deletions(-)