aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/java_pack_to_file.py
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-03-12 10:37:13 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-03-12 10:37:13 +0000
commitb27c447af8bffc727382c0dc75272e261cbb4ac4 (patch)
treee0f6199fec84ae26bb5ea26566fa1daa12693e3b /build/scripts/java_pack_to_file.py
parentcb56e1cde2824ff3b64be1de4794bff3cab0db61 (diff)
parentd06e9749bd6f0a561ee4fe296cdb3e03a24d1f82 (diff)
downloadydb-b27c447af8bffc727382c0dc75272e261cbb4ac4.tar.gz
Merge pull request #15611 from ydb-platform/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 ''