Commit 884c3473 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: qstat -j returns non-0 code for non-existent job

parent 6a91c938
......@@ -152,7 +152,7 @@ def info(job_id):
from import run
result = run(['qstat', '-j', job_id])
result = run(['qstat', '-j', job_id], exitcode=True)[0]
except FileNotFoundError:
log.debug("qstat not found; assuming not on cluster")
return {}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment