Skip to content

Commit

Permalink
Revert "merge (PaddlePaddle#61866)"
Browse files Browse the repository at this point in the history
This reverts commit 39010bf.
  • Loading branch information
hanhaowen-mt committed May 13, 2024
1 parent e171a3a commit 3cbfcfc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/paddle/utils/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,6 @@ def _uncompress_file_tar(filepath, mode="r:*"):
file_list_tmp = files.getnames()
file_list = []
for file in file_list_tmp:
assert (
file[0] != "/"
), f"uncompress file path {file} should not start with /"
file_list.append(file.replace("../", ""))

file_dir = os.path.dirname(filepath)
Expand Down

0 comments on commit 3cbfcfc

Please sign in to comment.