diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-07-12 10:27:19 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-07-12 10:39:26 +0300 |
commit | c01ce9fa40ae2926a9dfce1c2d91f1f7ec1ef7ce (patch) | |
tree | 0cf6869d1af7f23c2497d6b8c744d537d4637b16 /ya | |
parent | dbabef8aa606161028360a986813fefe5729be40 (diff) | |
download | ydb-c01ce9fa40ae2926a9dfce1c2d91f1f7ec1ef7ce.tar.gz |
Intermediate changes
Diffstat (limited to 'ya')
-rwxr-xr-x | ya | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -232,7 +232,10 @@ def _extract(path, into): # mock it with noop to retain current user ownership. tar.chown = lambda *args, **kwargs: None - tar.extractall(path=into) + if sys.version_info >= (3, 12): + tar.extractall(path=into, filter='data') + else: + tar.extractall(path=into) tar.close() |