Skip to content

Commit 0d9cef0

Browse files
author
Vasileios Karakasis
committed
Fix PEP8 issues
1 parent 38d6716 commit 0d9cef0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reframe/core/schedulers/torque.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def finished(self, job):
9393
raise JobError('maximum pending time exceeded',
9494
jobid=job.jobid)
9595

96-
with os_ext.change_dir(job.workdir):
97-
done = os.path.exists(job.stdout) and os.path.exists(job.stderr)
98-
96+
stdout = os.path.join(job.workdir, job.stdout)
97+
stderr = os.path.join(job.workdir, job.stderr)
98+
done = os.path.exists(stdout) and os.path.exists(stderr)
9999
return job.state == 'COMPLETED' and done

0 commit comments

Comments
 (0)