Skip to content

Commit

Permalink
Revert previous patch #1264
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed Sep 20, 2019
1 parent bf016d9 commit 1607202
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/sos/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,14 +998,14 @@ def task_changed():
# and the status is still showing as running, something is wrong.
# if there is no pulse file .
tf.status = 'aborted'
# with open(
# os.path.join(
# os.path.expanduser('~'), '.sos', 'tasks', task + '.err'),
# 'a') as err:
# err.write(
# f'Task {task} considered as aborted due to missing pulse file.')
# env.logger.warning(
# f'Task {task} considered as aborted due to missing pulse file.')
with open(
os.path.join(
os.path.expanduser('~'), '.sos', 'tasks', task + '.err'),
'a') as err:
err.write(
f'Task {task} considered as aborted due to missing pulse file.')
env.logger.warning(
f'Task {task} considered as aborted due to missing pulse file.')
tf.add_outputs()
return dict(
status='aborted',
Expand Down

0 comments on commit 1607202

Please sign in to comment.