From 7d57191408d1de70618d7c2ebb6135cbf5f1b3a4 Mon Sep 17 00:00:00 2001 From: Jessie Lin <80348079+jessielin34@users.noreply.github.com> Date: Mon, 18 Mar 2024 11:48:37 -0400 Subject: [PATCH] Return None rather than constant True from cluster provider _write_submit_script (#3238) --- parsl/providers/cluster_provider.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/parsl/providers/cluster_provider.py b/parsl/providers/cluster_provider.py index b7d48e39ba..20fbe62645 100644 --- a/parsl/providers/cluster_provider.py +++ b/parsl/providers/cluster_provider.py @@ -91,7 +91,7 @@ def _write_submit_script(self, template, script_filename, job_name, configs): - configs (dict) : configs that get pushed into the template Returns: - - True: on success + - None Raises: SchedulerMissingArgs : If template is missing args @@ -117,8 +117,6 @@ def _write_submit_script(self, template, script_filename, job_name, configs): logger.error("Uncategorized error: %s", e) raise e - return True - @abstractmethod def _status(self): pass