diff options
author | Stanislav Kirillov <staskirillov@gmail.com> | 2022-02-10 16:46:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:07 +0300 |
commit | 92fe2b1e7bc79f7b95adef61714fc003f6ea4a1c (patch) | |
tree | 817034f4ca57c9f841bb047ec94630c2e78a2b1d /build/scripts/generate_mf.py | |
parent | 53c76da6d9f6cc5a17f6029df396f0e3bc1ff47d (diff) | |
download | ydb-92fe2b1e7bc79f7b95adef61714fc003f6ea4a1c.tar.gz |
Restoring authorship annotation for Stanislav Kirillov <staskirillov@gmail.com>. Commit 1 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 a44a9699801..36e00b64891 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) |