diff options
author | Stanislav Kirillov <staskirillov@gmail.com> | 2022-02-10 16:46:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
commit | cb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /build/scripts/generate_mf.py | |
parent | 92fe2b1e7bc79f7b95adef61714fc003f6ea4a1c (diff) | |
download | ydb-cb68f224c46a8ee52ac3fdd2a32534b8bb8dc134.tar.gz |
Restoring authorship annotation for Stanislav Kirillov <staskirillov@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/generate_mf.py')
-rw-r--r-- | build/scripts/generate_mf.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/build/scripts/generate_mf.py b/build/scripts/generate_mf.py index 36e00b64891..a44a9699801 100644 --- a/build/scripts/generate_mf.py +++ b/build/scripts/generate_mf.py @@ -15,13 +15,13 @@ class GplNotAllowed(Exception): pass -def process_quotes(s): - for quote_char in '\'"': - if s.startswith(quote_char) and s.endswith(quote_char): - return s[1:-1] - return s - - +def process_quotes(s): + for quote_char in '\'"': + if s.startswith(quote_char) and s.endswith(quote_char): + return s[1:-1] + return s + + def parse_args(): args = pcf.get_args(sys.argv[1:]) lics, peers, free_args, credits = [], [], [], [] @@ -76,7 +76,7 @@ def generate_mf(): if credits: union_texts = [] for texts_file in credits: - with open(process_quotes(texts_file)) as f: + with open(process_quotes(texts_file)) as f: union_texts.append(f.read()) meta['license_texts'] = '\n\n'.join(union_texts) |