Skip to content

Commit

Permalink
Clarify tar hash comment after more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhowe committed Aug 3, 2021
1 parent 30a4497 commit a4037e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion footron_controller/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ async def add_release(id: str, file: UploadFile = File(...)):
uncompressed_file = tarfile.open(fileobj=file.file, mode="r:gz")
tar_fileobj = uncompressed_file.fileobj

# TODO: This _doesn't_ work for comparing contents, we need to do something like
# TODO: This might not work for comparing contents, we need to do something like
# https://gist.github.com/DaveCTurner/8765561 MAKING SURE THAT WE COMPARE FILE
# PERMISSIONS (see https://docs.python.org/3/library/tarfile.html#tarinfo-objects
# for a lead on where to get file metadata)
Expand Down

0 comments on commit a4037e7

Please sign in to comment.