From 74750656f091818d4f0ed37768085a7e0a97eabe Mon Sep 17 00:00:00 2001 From: Anthony Romaniello <66272872+aromanielloNTIA@users.noreply.github.com> Date: Thu, 28 Sep 2023 14:37:23 -0600 Subject: [PATCH] Remove unused iteration variable Naming of the loop variable `i` is the same as the inner loop. The outer loop variable is unused, so this causes no problems, but is confusing and should be removed to avoid causing a problem if it were used in the future. --- scos_actions/actions/acquire_sea_data_product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scos_actions/actions/acquire_sea_data_product.py b/scos_actions/actions/acquire_sea_data_product.py index e9a46d9f..22970a9a 100644 --- a/scos_actions/actions/acquire_sea_data_product.py +++ b/scos_actions/actions/acquire_sea_data_product.py @@ -575,7 +575,7 @@ def __call__(self, schedule_entry, task_id): [], ) result_tic = perf_counter() - for i, channel_data_process in enumerate(dp_procs): + for channel_data_process in dp_procs: # Retrieve object references for channel data channel_data_refs = ray.get(channel_data_process) channel_data = []