Skip to content

Commit

Permalink
fix: directory creation on pulling data
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Silva committed Oct 7, 2024
1 parent ad70dd3 commit 85a0f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/fs/dvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def _get( # noqa: C901, PLR0912

os.makedirs(lpath, exist_ok=True)
for d in _dirs:
os.mkdir(d)
os.makedirs(d, exist_ok=True)

def get_file(arg: tuple[FileSystem, tuple[str, str, Optional[dict]]]):
fs, (src, dest, info) = arg
Expand Down

0 comments on commit 85a0f83

Please sign in to comment.