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.
2 parents 7088769 + 421d187 commit 9ff496bCopy full SHA for 9ff496b
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