Skip to content

Commit 2fddf49

Browse files
committed
fix bug
1 parent be760fe commit 2fddf49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/slurm-status.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ def main():
165165
jobid, partition, name, state, time, nodes, start_time, notes = l.split(None, 7)
166166
#print("-".join([jobid, partition, name, state, time, nodes, start_time, notes]))
167167
# XXX: add support for regex matching so partial name can be provided
168-
#if name == args.job_name:
169-
in_the_system = True
170-
process_job(jobid, partition, name, state, time, nodes, start_time, notes)
168+
if name == args.job_name:
169+
in_the_system = True
170+
process_job(jobid, partition, name, state, time, nodes, start_time, notes)
171171

172172
if not in_the_system:
173173
preamble = get_preamble()

0 commit comments

Comments
 (0)