[PATCH] tests/functional/migration: Fix bad indentation

Thomas Huth posted 1 patch 2 weeks, 4 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251027112347.54190-1-thuth@redhat.com
Maintainers: Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>
tests/functional/migration.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] tests/functional/migration: Fix bad indentation
Posted by Thomas Huth 2 weeks, 4 days ago
From: Thomas Huth <thuth@redhat.com>

pylint complains about bad indentation in two lines. Use 12 spaces
instead of 11 spaces to get it right.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 tests/functional/migration.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/functional/migration.py b/tests/functional/migration.py
index 07395544832..2bfb1f77901 100644
--- a/tests/functional/migration.py
+++ b/tests/functional/migration.py
@@ -30,11 +30,11 @@ def assert_migration(self, src_vm, dst_vm):
 
         end = time.monotonic() + self.timeout
         while time.monotonic() < end and not self.migration_finished(src_vm):
-           time.sleep(0.1)
+            time.sleep(0.1)
 
         end = time.monotonic() + self.timeout
         while time.monotonic() < end and not self.migration_finished(dst_vm):
-           time.sleep(0.1)
+            time.sleep(0.1)
 
         self.assertEqual(src_vm.cmd('query-migrate')['status'], 'completed')
         self.assertEqual(dst_vm.cmd('query-migrate')['status'], 'completed')
-- 
2.51.0
Re: [PATCH] tests/functional/migration: Fix bad indentation
Posted by Philippe Mathieu-Daudé 2 weeks, 4 days ago
On 27/10/25 12:23, Thomas Huth wrote:
> From: Thomas Huth <thuth@redhat.com>
> 
> pylint complains about bad indentation in two lines. Use 12 spaces
> instead of 11 spaces to get it right.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   tests/functional/migration.py | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>