diff options
author | svidyuk <svidyuk@yandex-team.ru> | 2022-02-10 16:47:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:12 +0300 |
commit | 287d7d8c4ffc811d1e51c756ecfb13b78f4ee62d (patch) | |
tree | 339adc63bce23800021202ae4a8328a843dc447a /build/scripts/make_java_classpath_file.py | |
parent | e23df0602fedd83374b43b6137a296baa2aad3f6 (diff) | |
download | ydb-287d7d8c4ffc811d1e51c756ecfb13b78f4ee62d.tar.gz |
Restoring authorship annotation for <svidyuk@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/make_java_classpath_file.py')
-rw-r--r-- | build/scripts/make_java_classpath_file.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/build/scripts/make_java_classpath_file.py b/build/scripts/make_java_classpath_file.py index c958356988..c70a7876d7 100644 --- a/build/scripts/make_java_classpath_file.py +++ b/build/scripts/make_java_classpath_file.py @@ -1,9 +1,9 @@ import os import sys -import process_command_files as pcf +import process_command_files as pcf + - def make_cp_file(args): source = args[0] destination = args[1] @@ -12,15 +12,15 @@ def make_cp_file(args): with open(destination, 'w') as dst: dst.write(os.pathsep.join(lines)) -def make_cp_file_from_args(args): - destination = args[0] - with open(destination, 'w') as dst: - dst.write(os.pathsep.join(args[1:])) +def make_cp_file_from_args(args): + destination = args[0] + with open(destination, 'w') as dst: + dst.write(os.pathsep.join(args[1:])) + - if __name__ == '__main__': - args = pcf.get_args(sys.argv[1:]) - if sys.argv[1] != '--from-args': - make_cp_file(args) - else: - make_cp_file_from_args(args[1:]) + args = pcf.get_args(sys.argv[1:]) + if sys.argv[1] != '--from-args': + make_cp_file(args) + else: + make_cp_file_from_args(args[1:]) |