aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/cpp_proto_wrapper.py
diff options
context:
space:
mode:
authordimdim11 <dimdim11@yandex-team.com>2024-05-17 00:25:22 +0300
committerdimdim11 <dimdim11@yandex-team.com>2024-05-17 00:38:48 +0300
commit69a971df95ebd8dff04300a30fa697cd111de793 (patch)
treef8e0e05e5eab20a2e19cc83a01a28df678b4f70a /build/scripts/cpp_proto_wrapper.py
parenta8049e5a7b933c56ae14a3fd55af1f85f2978b37 (diff)
downloadydb-69a971df95ebd8dff04300a30fa697cd111de793.tar.gz
Fix patching cpp proto
Fix patching cpp proto af01597c047856b865c6a4e9933cfeacb0a2f39b
Diffstat (limited to 'build/scripts/cpp_proto_wrapper.py')
-rw-r--r--build/scripts/cpp_proto_wrapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/scripts/cpp_proto_wrapper.py b/build/scripts/cpp_proto_wrapper.py
index f88fb47334..a70ba21e57 100644
--- a/build/scripts/cpp_proto_wrapper.py
+++ b/build/scripts/cpp_proto_wrapper.py
@@ -5,8 +5,8 @@ import re
import argparse
-FROM_RE = re.compile(u"((?:struct|class)\\s+\\S+\\s+)final\\s*:")
-TO_RE = "\\1:"
+FROM_RE = re.compile(r"((?:struct|class)\s+\S+\s+)final\s*:")
+TO_RE = r"\1:"
def parse_args() -> argparse.Namespace: