All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] virt.virt_test_utils: Use Thread.isAlive instead of is_alive
@ 2011-09-12 16:55 Lucas Meneghel Rodrigues
  0 siblings, 0 replies; only message in thread
From: Lucas Meneghel Rodrigues @ 2011-09-12 16:55 UTC (permalink / raw)
  To: autotest; +Cc: kvm, Lucas Meneghel Rodrigues

This API is only avaliable from python 2.6 onwards, so use
isAlive, which does exist under 2.4.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 client/virt/virt_test_utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/virt/virt_test_utils.py b/client/virt/virt_test_utils.py
index 7c3343b..b5e845a 100644
--- a/client/virt/virt_test_utils.py
+++ b/client/virt/virt_test_utils.py
@@ -602,7 +602,7 @@ def run_autotest(vm, session, control_path, timeout, outputdir, params):
 
                 bg.start()
 
-                while bg.is_alive():
+                while bg.isAlive():
                     logging.info("Autotest job did not end, start a round of "
                                  "migration")
                     vm.migrate(timeout=mig_timeout, protocol=mig_protocol)
-- 
1.7.6


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-12 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-12 16:55 [PATCH] virt.virt_test_utils: Use Thread.isAlive instead of is_alive Lucas Meneghel Rodrigues

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.