aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorchegoryu <chegoryu@yandex-team.com>2022-12-21 06:05:57 +0300
committerchegoryu <chegoryu@yandex-team.com>2022-12-21 06:05:57 +0300
commitfd79d5c797534fcce5d66ff6b53283b64f995e7e (patch)
tree4fdfaf2d28b7e6d723de7b84d2124d6bd7e82cb7 /build
parentda4fef57b0600fbf586a9de784ab8bc681d4a18c (diff)
downloadydb-fd79d5c797534fcce5d66ff6b53283b64f995e7e.tar.gz
fix vcs info script after rXXXXXX
Объяснение вот тут https://a.yandex-team.ru/review/3282791/files/2#comment-4637692
Diffstat (limited to 'build')
-rw-r--r--build/scripts/vcs_info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/scripts/vcs_info.py b/build/scripts/vcs_info.py
index 8b4de2cd0c..6a57c19807 100644
--- a/build/scripts/vcs_info.py
+++ b/build/scripts/vcs_info.py
@@ -25,8 +25,8 @@ class _Formatting(object):
retval = b""
for c in c_str:
c = bytes([c])
- if c in ("\\", "\""):
- retval += "\\" + c
+ if c in (b"\\", b"\""):
+ retval += b"\\" + c
elif ord(c) < ord(' '):
retval += c.decode('latin-1').encode('unicode_escape')
else: