Skip to content

Commit

Permalink
build: Fix warning on recent python
Browse files Browse the repository at this point in the history
  • Loading branch information
gavv committed Aug 13, 2024
1 parent c4c79c7 commit 0e8724c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/scons_helpers/build-3rdparty.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ def unpack(ctx, filename, dirname):
mkpath('tmp')

tar = tarfile.open('src/'+filename, 'r')
tar.extractall('tmp')
try:
tar.extractall('tmp', filter='data')
except:
tar.extractall('tmp')
tar.close()

shutil.move(dirname_tmp, dirname_res)
Expand Down

0 comments on commit 0e8724c

Please sign in to comment.