From c457d90fa25be9d72682ec00cb6558d591f9c901 Mon Sep 17 00:00:00 2001 From: snermolaev Date: Wed, 30 Jul 2025 07:30:43 +0300 Subject: fix ymake.conf generation for ya.make yndexing commit_hash:ebc74acb64ee3ce822b30dadd3e72bcd1e5270df --- build/ymake_conf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/ymake_conf.py b/build/ymake_conf.py index 5339d620b8b..61ebf88bfde 100755 --- a/build/ymake_conf.py +++ b/build/ymake_conf.py @@ -365,6 +365,13 @@ def to_strings(o): elif isinstance(o, (str, int)): yield str(o) else: + try: + # Huge Python2 is still used for generating ymake.conf in case of ya.make yndexing + if isinstance(o, unicode): + yield o.decode('utf-8') + return + except NameError: + pass raise ConfigureError('Unexpected value {} {}'.format(type(o), o)) -- cgit v1.3