diff options
| -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)) |
