Skip to content

Commit

Permalink
Clean up comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sgugger authored and JingyaHuang committed Aug 11, 2022
1 parent 4c522b3 commit b2a0f05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/transformers/utils/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,6 @@ def move_to_new_cache(file, repo, filename, revision, etag, commit_hash):

# blobs
os.makedirs(os.path.join(repo, "blobs"), exist_ok=True)
# TODO: replace copy by move when all works well.
blob_path = os.path.join(repo, "blobs", etag)
shutil.move(file, blob_path)

Expand Down

0 comments on commit b2a0f05

Please sign in to comment.