diff options
author | iaz1607 <iaz1607@yandex-team.com> | 2023-11-30 12:16:39 +0300 |
---|---|---|
committer | iaz1607 <iaz1607@yandex-team.com> | 2023-11-30 12:56:46 +0300 |
commit | 8951ddf780e02616cdb2ec54a02bc354e8507c0f (patch) | |
tree | 478097488957d3b554e25868c972a959bb40d78e /build/scripts/make_container.py | |
parent | a5acb7aa4ca5a4603215e878eb0cad786793262b (diff) | |
download | ydb-8951ddf780e02616cdb2ec54a02bc354e8507c0f.tar.gz |
`build/scripts` ya style --py
Diffstat (limited to 'build/scripts/make_container.py')
-rw-r--r-- | build/scripts/make_container.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/build/scripts/make_container.py b/build/scripts/make_container.py index a485baffdd..2c07177fdb 100644 --- a/build/scripts/make_container.py +++ b/build/scripts/make_container.py @@ -5,7 +5,7 @@ import struct import subprocess import sys -import container # 1 +import container # 1 def main(output_path, entry_path, input_paths, squashfs_path): @@ -29,7 +29,7 @@ def main(output_path, entry_path, input_paths, squashfs_path): program_container_path = os.path.basename(program_path) os.symlink(program_container_path, 'entry') - add_cmd = [ os.path.join(squashfs_path, 'mksquashfs') ] + add_cmd = [os.path.join(squashfs_path, 'mksquashfs')] add_cmd.extend([program_path, 'entry', 'program_layer']) subprocess.run(add_cmd) @@ -59,7 +59,6 @@ def main(output_path, entry_path, input_paths, squashfs_path): if len(data) == 0: break - output.write(struct.pack('<Q', size)) os.rename(output_tmp_path, output_path) |