diff options
| author | snermolaev <[email protected]> | 2025-07-30 07:30:43 +0300 |
|---|---|---|
| committer | snermolaev <[email protected]> | 2025-07-30 07:48:02 +0300 |
| commit | c457d90fa25be9d72682ec00cb6558d591f9c901 (patch) | |
| tree | a5db39a444f61f28c4c9dedc40d085ce54cf86bf | |
| parent | 57246862f1d445ce91e4a2238983da39d78c982c (diff) | |
fix ymake.conf generation for ya.make yndexing
commit_hash:ebc74acb64ee3ce822b30dadd3e72bcd1e5270df
| -rwxr-xr-x | build/ymake_conf.py | 7 |
1 files changed, 7 insertions, 0 deletions
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)) |
