diff options
author | mkolom <mkolom@yandex-team.ru> | 2022-02-10 16:46:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:07 +0300 |
commit | 8dc65930fc86ac0ebd07114f5f5be9e89c65ef8a (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /build/scripts/fetch_from.py | |
parent | 5cc85744b35577ef3ca2214128c9e0c41927119e (diff) | |
download | ydb-8dc65930fc86ac0ebd07114f5f5be9e89c65ef8a.tar.gz |
Restoring authorship annotation for <mkolom@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/fetch_from.py')
-rwxr-xr-x | build/scripts/fetch_from.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/scripts/fetch_from.py b/build/scripts/fetch_from.py index 1124a082de..db4fea50bf 100755 --- a/build/scripts/fetch_from.py +++ b/build/scripts/fetch_from.py @@ -28,7 +28,7 @@ def add_common_arguments(parser): 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') - parser.add_argument('-v', '--verbose', action='store_true', default=os.environ.get('YA_VERBOSE_FETCHER'), help='increase stderr verbosity') + parser.add_argument('-v', '--verbose', action='store_true', default=os.environ.get('YA_VERBOSE_FETCHER'), help='increase stderr verbosity') parser.add_argument('outputs', nargs='*', default=[]) @@ -105,8 +105,8 @@ def setup_logging(args, base_name): args.abs_log_path = os.path.abspath(log_file_name) makedirs(os.path.dirname(args.abs_log_path)) logging.basicConfig(filename=args.abs_log_path, level=logging.DEBUG) - if args.verbose: - logging.getLogger().addHandler(logging.StreamHandler(sys.stderr)) + if args.verbose: + logging.getLogger().addHandler(logging.StreamHandler(sys.stderr)) def is_temporary(e): |