diff options
author | robot-ydb-importer <robot-ydb-importer@yandex-team.com> | 2024-01-22 21:28:27 +0300 |
---|---|---|
committer | robot-ydb-importer <robot-ydb-importer@yandex-team.com> | 2024-01-22 21:40:57 +0300 |
commit | 0852227e74fca796397668972f80a973c6b3e011 (patch) | |
tree | cf91f0daac30d2d75ede3aab69c34bd2c7cf13fd | |
parent | d037aeb9d5268401f62c1f7551007a030dfa1372 (diff) | |
download | ydb-0852227e74fca796397668972f80a973c6b3e011.tar.gz |
YDB Import 548
-rw-r--r-- | yt/python/yt/yson/yson_token.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/python/yt/yson/yson_token.py b/yt/python/yt/yson/yson_token.py index ef230f7203..d536aa1141 100644 --- a/yt/python/yt/yson/yson_token.py +++ b/yt/python/yt/yson/yson_token.py @@ -144,7 +144,7 @@ class YsonToken(object): if token_type not in expected_types: if token_type == TOKEN_END_OF_STREAM: - raise YsonError("Unexpected end of stream; expected types are {0}".format(expected_types)) + raise YsonError("Unexpected end of stream; expected types are {0}".format(list(imap(token_type_to_string, expected_types)))) else: raise YsonError('Unexpected token "{0}" of type {1}; ' 'expected types are {2}'.format(decode_token_value(self.get_value()), |