Skip to content

Commit

Permalink
Return None rather than constant True from cluster provider _write_su…
Browse files Browse the repository at this point in the history
…bmit_script (#3238)
  • Loading branch information
jessielin34 authored Mar 18, 2024
1 parent e0f3f69 commit 7d57191
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions parsl/providers/cluster_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7d57191

Please sign in to comment.