diff options
author | Alexander Smirnov <alex@ydb.tech> | 2025-03-12 10:37:13 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2025-03-12 10:37:13 +0000 |
commit | b27c447af8bffc727382c0dc75272e261cbb4ac4 (patch) | |
tree | e0f6199fec84ae26bb5ea26566fa1daa12693e3b /build/scripts/java_pack_to_file.py | |
parent | cb56e1cde2824ff3b64be1de4794bff3cab0db61 (diff) | |
parent | d06e9749bd6f0a561ee4fe296cdb3e03a24d1f82 (diff) | |
download | ydb-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.py | 2 |
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 '' |