aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/java_pack_to_file.py
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.ru>2022-02-10 16:47:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:12 +0300
commit287d7d8c4ffc811d1e51c756ecfb13b78f4ee62d (patch)
tree339adc63bce23800021202ae4a8328a843dc447a /build/scripts/java_pack_to_file.py
parente23df0602fedd83374b43b6137a296baa2aad3f6 (diff)
downloadydb-287d7d8c4ffc811d1e51c756ecfb13b78f4ee62d.tar.gz
Restoring authorship annotation for <svidyuk@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/java_pack_to_file.py')
-rw-r--r--build/scripts/java_pack_to_file.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/build/scripts/java_pack_to_file.py b/build/scripts/java_pack_to_file.py
index 28273b8baf..8d2aeb93fd 100644
--- a/build/scripts/java_pack_to_file.py
+++ b/build/scripts/java_pack_to_file.py
@@ -20,16 +20,16 @@ def get_package_name(filename):
return ''
-def write_coverage_sources(output, srcroot, files):
- with open(output, 'w') as afile:
- for filename in files:
- pname = get_package_name(os.path.join(srcroot, filename))
- afile.write(os.path.join(pname, os.path.basename(filename)) + ':' + filename + '\n')
-
-
+def write_coverage_sources(output, srcroot, files):
+ with open(output, 'w') as afile:
+ for filename in files:
+ pname = get_package_name(os.path.join(srcroot, filename))
+ afile.write(os.path.join(pname, os.path.basename(filename)) + ':' + filename + '\n')
+
+
def main():
opts, files = parse_args()
- write_coverage_sources(opts.output, opts.source_root, files)
+ write_coverage_sources(opts.output, opts.source_root, files)
if __name__ == '__main__':