aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsage <sage@yandex-team.ru>2022-02-10 16:49:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:20 +0300
commitc723492f2f326fd7c6597bac45e58cd98a254dba (patch)
tree51cee4118e108968d72657ac446028ecb04247d1
parent1278240bfbb8240f3c2d7a88085543f6bfaba73e (diff)
downloadydb-c723492f2f326fd7c6597bac45e58cd98a254dba.tar.gz
Restoring authorship annotation for <sage@yandex-team.ru>. Commit 1 of 2.
-rw-r--r--library/cpp/yson/node/pybind/node.cpp8
-rw-r--r--library/python/pytest/plugins/fixtures.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/yson/node/pybind/node.cpp b/library/cpp/yson/node/pybind/node.cpp
index 79beba3647..8b8340fa63 100644
--- a/library/cpp/yson/node/pybind/node.cpp
+++ b/library/cpp/yson/node/pybind/node.cpp
@@ -59,10 +59,10 @@ namespace NPyBind {
res = TString();
return FromPyObject(obj, res.As<TString>());
}
- if (PyBytes_Check(obj)) {
- res = TString();
- return FromPyObject(obj, res.As<TString>());
- }
+ if (PyBytes_Check(obj)) {
+ res = TString();
+ return FromPyObject(obj, res.As<TString>());
+ }
#endif
if (PyList_Check(obj)) {
res = NYT::TNode::CreateList();
diff --git a/library/python/pytest/plugins/fixtures.py b/library/python/pytest/plugins/fixtures.py
index 6f7e0a27e4..e321bfca74 100644
--- a/library/python/pytest/plugins/fixtures.py
+++ b/library/python/pytest/plugins/fixtures.py
@@ -33,7 +33,7 @@ def metrics(request):
def set_ybenchmark(cls, benchmark_values):
for benchmark in benchmark_values["benchmark"]:
name = benchmark["name"]
- for key, value in six.iteritems(benchmark):
+ for key, value in six.iteritems(benchmark):
if key != "name":
cls.set("{}_{}".format(name, key), value)