diff options
author | skiftcha <skiftcha@yandex-team.ru> | 2022-02-10 16:51:42 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:42 +0300 |
commit | 0d8f5c83d1146da6aeb62b9c828dd4baa5c1b36c (patch) | |
tree | c261e407f8bb0596cdfb738d64364395573a6e36 | |
parent | d2b794bb633932cc63f615ab82c6ffe29856be1a (diff) | |
download | ydb-0d8f5c83d1146da6aeb62b9c828dd4baa5c1b36c.tar.gz |
Restoring authorship annotation for <skiftcha@yandex-team.ru>. Commit 1 of 2.
-rw-r--r-- | build/scripts/collect_java_srcs.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/scripts/collect_java_srcs.py b/build/scripts/collect_java_srcs.py index 170002520a..120ef19b57 100644 --- a/build/scripts/collect_java_srcs.py +++ b/build/scripts/collect_java_srcs.py @@ -7,12 +7,12 @@ import zipfile if __name__ == '__main__': build_root = sys.argv[1] - root = os.path.normpath(sys.argv[2]) - dest = os.path.normpath(sys.argv[3]) + root = os.path.normpath(sys.argv[2]) + dest = os.path.normpath(sys.argv[3]) srcs = sys.argv[4:] for src in srcs: - src = os.path.normpath(src) + src = os.path.normpath(src) if src.endswith('.java') or src.endswith('.kt'): src_rel_path = os.path.relpath(src, root) @@ -22,7 +22,7 @@ if __name__ == '__main__': else: # Outside root - print>>sys.stderr, 'External src file "{}" is outside of srcdir {}, ignore'.format( + print>>sys.stderr, 'External src file "{}" is outside of srcdir {}, ignore'.format( os.path.relpath(src, build_root), os.path.relpath(root, build_root), ) |