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
commit8ba73be0aad4f9f2ebb3eff4309918bc74fd08d3 (patch)
tree1e07aa31e9ba7922ebdc2a108a4af6a44bc4904e
parentd1534e9f0d4be18cd2fff6367630bfd4c167168d (diff)
downloadydb-8ba73be0aad4f9f2ebb3eff4309918bc74fd08d3.tar.gz
Restoring authorship annotation for <gvastash@yandex-team.ru>. Commit 1 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 1d80bb98f3f..84539d925f3 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 e70ca80a09f..78de45b4ba5 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)