On Thu, Dec 12, 2024 at 11:34:19AM +0100, Thomas Huth wrote: > On 11/12/2024 18.26, Daniel P. Berrangé wrote: > > Replace use of utils.archive_extract and extract_from_deb with the > > new archive_extract helper. > > > > Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> > > --- > ... > > diff --git a/tests/functional/qemu_test/linuxkernel.py > > b/tests/functional/qemu_test/linuxkernel.py > > index 8f2810f3af..155855541f 100644 > > --- a/tests/functional/qemu_test/linuxkernel.py > > +++ b/tests/functional/qemu_test/linuxkernel.py > > @@ -3,11 +3,9 @@ > > # This work is licensed under the terms of the GNU GPL, version 2 or > > # later. See the COPYING file in the top-level directory. > > -import os > > - > > from .testcase import QemuSystemTest > > from .cmd import wait_for_console_pattern > > -from .archive import deb_extract > > + > > class LinuxKernelTest(QemuSystemTest): > > Cosmetical nit: Two empty lines should be enough, no reason to add a third > one.
Yes, I was aiming to fixup to two lines where I touched code, since that is what python linters would want us to have. > > Apart from that: > Reviewed-by: Thomas Huth <th...@redhat.com> > With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|