From dfcd693076e36bc6b40e44ca9f6e21a35092a3df Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Thu, 28 Sep 2023 08:41:29 +1300 Subject: [PATCH] Check ready_index correctly --- release-process/prepare-release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-process/prepare-release.py b/release-process/prepare-release.py index 0e51f25f497..462d19631b4 100755 --- a/release-process/prepare-release.py +++ b/release-process/prepare-release.py @@ -127,7 +127,7 @@ def run_tests(): if process.poll() is not None: ready_index = running_index break - if ready_index: + if ready_index is not None: distro_name, arch, process = running.pop(ready_index) output_file = output_file_name(distro_name, arch) vm_kept = has_line_starting(output_file, 'VM kept; ')