Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

support having output dir on different partition, than datadir #5161

Merged
merged 2 commits into from
Apr 16, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion golem/task/requestedtaskmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def _move_task_results(self, task_id: TaskId, user_output_dir: Path):
task_outputs_dir = self._task_dir(task_id).task_outputs_dir

for entry in task_outputs_dir.iterdir():
entry.resolve().replace(user_output_dir / entry.name)
shutil.move(entry.resolve(), user_output_dir/entry.name)

async def abort_task(self, task_id: TaskId) -> None:
task = RequestedTask.get(RequestedTask.task_id == task_id)
Expand Down