diff options
author | robot-ydb-importer <robot-ydb-importer@yandex-team.com> | 2024-01-22 21:28:27 +0300 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-01-24 15:02:03 +0300 |
commit | 8e1ef6e552adde4b26cda116a183d3889112d238 (patch) | |
tree | abeeccf32871117c2f4e4d18c430d9ce0208042b | |
parent | 832c8f62e12cbec1934bc40ef3b7c338f1e087dd (diff) | |
download | ydb-8e1ef6e552adde4b26cda116a183d3889112d238.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()), |