diff options
author | khlebnikov <khlebnikov@yandex-team.ru> | 2022-02-10 16:50:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:08 +0300 |
commit | 6cffcf9a14a1dd07278bd534c7cca706ec2827b3 (patch) | |
tree | 48eb57e1d9fd00d624ca68bb3418c3c041d1b096 /build/scripts/fetch_from.py | |
parent | 1977f1c7bcb225f59f789f5f8735e03eb0c87e1c (diff) | |
download | ydb-6cffcf9a14a1dd07278bd534c7cca706ec2827b3.tar.gz |
Restoring authorship annotation for <khlebnikov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/scripts/fetch_from.py')
-rwxr-xr-x | build/scripts/fetch_from.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/scripts/fetch_from.py b/build/scripts/fetch_from.py index db4fea50bf..a64b23daae 100755 --- a/build/scripts/fetch_from.py +++ b/build/scripts/fetch_from.py @@ -20,11 +20,11 @@ def make_user_agent(): return 'fetch_from: {host}'.format(host=socket.gethostname()) -def add_common_arguments(parser): +def add_common_arguments(parser): parser.add_argument('--copy-to') # used by jbuild in fetch_resource parser.add_argument('--rename-to') # used by test_node in inject_mds_resource_to_graph - parser.add_argument('--copy-to-dir') - parser.add_argument('--untar-to') + parser.add_argument('--copy-to-dir') + parser.add_argument('--untar-to') parser.add_argument('--rename', action='append', default=[], metavar='FILE', help='rename FILE to the corresponding output') parser.add_argument('--executable', action='store_true', help='make outputs executable') parser.add_argument('--log-path') @@ -330,7 +330,7 @@ def process(fetched_file, file_name, args, remove=True): if args.copy_to_dir: hardlink_or_copy(fetched_file, os.path.join(args.copy_to_dir, file_name)) - if args.untar_to: + if args.untar_to: ensure_dir(args.untar_to) # Extract only requested files try: |