diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /build/scripts/extract_asrc.py | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'build/scripts/extract_asrc.py')
-rw-r--r-- | build/scripts/extract_asrc.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/build/scripts/extract_asrc.py b/build/scripts/extract_asrc.py deleted file mode 100644 index 89892ddf2d..0000000000 --- a/build/scripts/extract_asrc.py +++ /dev/null @@ -1,23 +0,0 @@ -import argparse -import os -import tarfile - - -def parse_args(): - parser = argparse.ArgumentParser() - parser.add_argument('--input', nargs='*', required=True) - parser.add_argument('--output', required=True) - - return parser.parse_args() - - -def main(): - args = parse_args() - - for asrc in filter(lambda x: x.endswith('.asrc') and os.path.exists(x), args.input): - with tarfile.open(asrc, 'r') as tar: - tar.extractall(path=args.output) - - -if __name__ == '__main__': - main() |