aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-07-08 12:58:19 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-07-08 13:07:14 +0300
commitc611a4d8ab20d3f4ffaac0cc9f8ed9dc137b90ef (patch)
tree6e425de50bde3a6f5a21712a0908485d04de1b19
parentad2c69ac0b84bf01a4301f1dddbf914407e10e38 (diff)
downloadydb-c611a4d8ab20d3f4ffaac0cc9f8ed9dc137b90ef.tar.gz
Intermediate changes
-rw-r--r--yt/python/yt/yson/writer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/python/yt/yson/writer.py b/yt/python/yt/yson/writer.py
index 5b0511a023..294457a89b 100644
--- a/yt/python/yt/yson/writer.py
+++ b/yt/python/yt/yson/writer.py
@@ -291,7 +291,7 @@ class Dumper(object):
else:
result = b"%-inf"
else:
- if type(obj) == yson_types.YsonDouble:
+ if type(obj) is yson_types.YsonDouble:
obj_str = str(float(obj))
else:
obj_str = str(obj)