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 amyeroberts committed Aug 17, 2022
1 parent 5e8a3d4 commit ba98271
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 ba98271

Please sign in to comment.