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 | e23df0602fedd83374b43b6137a296baa2aad3f6 (patch) | |
tree | 1facb78b6535ac70f17ba39ed606d949f932fcea /build/scripts/make_java_classpath_file.py | |
parent | 92661c40a019d4809586c8ce322075d197427346 (diff) | |
download | ydb-e23df0602fedd83374b43b6137a296baa2aad3f6.tar.gz |
Restoring authorship annotation for <svidyuk@yandex-team.ru>. Commit 1 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 c70a7876d7..c958356988 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:]) |