aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgvastash <gvastash@yandex-team.ru>2022-02-10 16:51:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:40 +0300
commit5fbc412b418e2c06f1e277b55511fd5cecc538f5 (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb
parent8ba73be0aad4f9f2ebb3eff4309918bc74fd08d3 (diff)
downloadydb-5fbc412b418e2c06f1e277b55511fd5cecc538f5.tar.gz
Restoring authorship annotation for <gvastash@yandex-team.ru>. Commit 2 of 2.
-rw-r--r--build/plugins/lj_archive.py4
-rw-r--r--build/scripts/decimal_md5.py6
2 files changed, 5 insertions, 5 deletions
diff --git a/build/plugins/lj_archive.py b/build/plugins/lj_archive.py
index 84539d925f3..1d80bb98f3f 100644
--- a/build/plugins/lj_archive.py
+++ b/build/plugins/lj_archive.py
@@ -17,8 +17,8 @@ def onlj_archive(unit, *args):
luas = list(iter_luas(args))
objs = list(iter_objs(luas))
- unit.onarchive_by_keys(['DONTCOMPRESS', 'NAME', 'LuaScripts.inc', 'KEYS', ':'.join(luas)] + objs)
- unit.onarchive_by_keys(['DONTCOMPRESS', 'NAME', 'LuaSources.inc', 'KEYS', ':'.join(luas)] + luas)
+ unit.onarchive_by_keys(['DONTCOMPRESS', 'NAME', 'LuaScripts.inc', 'KEYS', ':'.join(luas)] + objs)
+ unit.onarchive_by_keys(['DONTCOMPRESS', 'NAME', 'LuaSources.inc', 'KEYS', ':'.join(luas)] + luas)
def onlj_21_archive(unit, *args):
"""
diff --git a/build/scripts/decimal_md5.py b/build/scripts/decimal_md5.py
index 78de45b4ba5..e70ca80a09f 100644
--- a/build/scripts/decimal_md5.py
+++ b/build/scripts/decimal_md5.py
@@ -53,9 +53,9 @@ def main():
if args.fixed_output:
try:
- bitmask = (1 << args.lower_bits) - 1
- fmt = '{:0%dd}' % len(str(bitmask))
- checksum = fmt.format(int(args.fixed_output) & bitmask)
+ bitmask = (1 << args.lower_bits) - 1
+ fmt = '{:0%dd}' % len(str(bitmask))
+ checksum = fmt.format(int(args.fixed_output) & bitmask)
except ValueError:
raise ValueError("decimal_md5: bad value passed via --fixed-output: %s" % args.fixed_output)
print_code(str(checksum), func_name=args.func_name)