From b322c490dd6e5460738b7218b1df4ba25acd82f3 Mon Sep 17 00:00:00 2001 From: Soline Date: Wed, 9 Oct 2024 16:33:44 -0400 Subject: [PATCH] Rename variable --- slurm_state/mongo_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slurm_state/mongo_update.py b/slurm_state/mongo_update.py index bd92c5dc..929be497 100644 --- a/slurm_state/mongo_update.py +++ b/slurm_state/mongo_update.py @@ -39,8 +39,8 @@ def fetch_slurm_report(parser, report_path): for e in parser.parser(f): e["cluster_name"] = cluster_name yield e - except Exception as e: - logging.warning(str(e)) + except Exception as err: + logging.warning(str(err)) def slurm_job_to_clockwork_job(slurm_job: dict):