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/tar_sources.py | |
parent | a5acb7aa4ca5a4603215e878eb0cad786793262b (diff) | |
download | ydb-8951ddf780e02616cdb2ec54a02bc354e8507c0f.tar.gz |
`build/scripts` ya style --py
Diffstat (limited to 'build/scripts/tar_sources.py')
-rw-r--r-- | build/scripts/tar_sources.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/scripts/tar_sources.py b/build/scripts/tar_sources.py index 33555e3f20..71a665843f 100644 --- a/build/scripts/tar_sources.py +++ b/build/scripts/tar_sources.py @@ -37,7 +37,9 @@ def main(): with open(fname, 'rb') as fin: tarinfo = out.gettarinfo(fname, arcname) tarinfo.mode = stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH if tarinfo.mode | stat.S_IXUSR else 0 - tarinfo.mode = tarinfo.mode | stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH + tarinfo.mode = ( + tarinfo.mode | stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH + ) tarinfo.mtime = 0 tarinfo.uid = 0 tarinfo.gid = 0 |