Skip to content

Commit 99365e4

Browse files
committed
Avoid attempt to use undefined stdout gathering remote job results
1 parent fbca4fb commit 99365e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wfl/autoparallelize/remote.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ def do_remotely(remote_info, hash_ignore=[], num_inputs_per_python_subprocess=1,
103103
if not quiet:
104104
sys.stderr.write(f'Gathering results for {xpr.id} remote {xpr.remote_id}\n')
105105

106+
stdout = None
107+
stderr = None
106108
try:
107109
ats_out, stdout, stderr = xpr.get_results(timeout=remote_info.timeout, check_interval=remote_info.check_interval)
108110
except Exception as exc:

0 commit comments

Comments
 (0)