aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2023-10-05 04:58:17 +0300
committersnermolaev <snermolaev@yandex-team.com>2023-10-05 05:18:26 +0300
commit72e26ca8f41e4eebbe66667c6de64663003ddcdf (patch)
tree0ef65370b1edc4c509e99e81236200bebf0b7750
parente1f68d95129f42a52fadccbf1f72ae33767c5f9e (diff)
downloadydb-72e26ca8f41e4eebbe66667c6de64663003ddcdf.tar.gz
cleanup extract_asrc.py
-rw-r--r--build/scripts/extract_asrc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/extract_asrc.py b/build/scripts/extract_asrc.py
index 89892ddf2d..b413fab09e 100644
--- a/build/scripts/extract_asrc.py
+++ b/build/scripts/extract_asrc.py
@@ -14,7 +14,7 @@ def parse_args():
def main():
args = parse_args()
- for asrc in filter(lambda x: x.endswith('.asrc') and os.path.exists(x), args.input):
+ for asrc in [x for x in args.input if x.endswith('.asrc') and os.path.exists(x)]:
with tarfile.open(asrc, 'r') as tar:
tar.extractall(path=args.output)