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@xxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html