We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65a5c83 commit 421d187Copy full SHA for 421d187
src/psij/executors/batch/batch_scheduler_executor.py
@@ -668,8 +668,7 @@ def _poll(self) -> None:
668
jobs_copy = dict(self._jobs)
669
logger.info('Polling for %s jobs', len(jobs_copy))
670
try:
671
- if exec:
672
- out = exec._run_command(exec.get_status_command(jobs_copy.keys()))
+ out = exec._run_command(exec.get_status_command(jobs_copy.keys()))
673
except subprocess.CalledProcessError as ex:
674
out = ex.output
675
exit_code = ex.returncode
0 commit comments