aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/java_pack_to_file.py
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-03-12 07:09:44 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-03-12 07:09:44 +0000
commitf31f6ec483fc78a200aef65cf08ee98e8a6a7cea (patch)
tree7428e41dea304eeda9d97ded266d42995478a0b4 /build/scripts/java_pack_to_file.py
parent9059c4534bd1b0fb20ba2426eb59640415e24113 (diff)
parent7ae87080b7fdfadae6ebb86360ba3eb4c6325e2d (diff)
downloadydb-f31f6ec483fc78a200aef65cf08ee98e8a6a7cea.tar.gz
Merge branch 'rightlib' into merge-libs-250312-0708
Diffstat (limited to 'build/scripts/java_pack_to_file.py')
-rw-r--r--build/scripts/java_pack_to_file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/java_pack_to_file.py b/build/scripts/java_pack_to_file.py
index c8ab7c311b..1397db0e14 100644
--- a/build/scripts/java_pack_to_file.py
+++ b/build/scripts/java_pack_to_file.py
@@ -23,7 +23,7 @@ def get_package_name(filename):
else:
match = JAVA_PACKAGE_REGEX.search(content)
if match:
- return match.group(1).replace('\n\t ', '').replace('.', '/')
+ return re.sub(r'[\s]+', '', match.group(1)).replace('.', '/')
return ''