diff options
author | Mikhail Borisov <borisov.mikhail@gmail.com> | 2022-02-10 16:45:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:39 +0300 |
commit | a6a92afe03e02795227d2641b49819b687f088f8 (patch) | |
tree | f6984a1d27d5a7ec88a6fdd6e20cd5b7693b6ece /build/scripts/py_compile.py | |
parent | c6dc8b8bd530985bc4cce0137e9a5de32f1087cb (diff) | |
download | ydb-a6a92afe03e02795227d2641b49819b687f088f8.tar.gz |
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'build/scripts/py_compile.py')
-rwxr-xr-x | build/scripts/py_compile.py | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/build/scripts/py_compile.py b/build/scripts/py_compile.py index 936dbe8816b..5e800450624 100755 --- a/build/scripts/py_compile.py +++ b/build/scripts/py_compile.py @@ -1,24 +1,24 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -from __future__ import print_function, absolute_import, division - -import marshal -import sys - - -def main(): +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from __future__ import print_function, absolute_import, division + +import marshal +import sys + + +def main(): srcpathx, in_fname, out_fname = sys.argv[1:] srcpath = srcpathx[:-1] with open(in_fname, 'r') as in_file: - source = in_file.read() + source = in_file.read() code = compile(source, srcpath, 'exec', dont_inherit=True) with open(out_fname, 'wb') as out_file: - marshal.dump(code, out_file) - - -if __name__ == "__main__": - main() + marshal.dump(code, out_file) + + +if __name__ == "__main__": + main() |