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
commit2896882074ce784b7cabc4f2f7c502db74b34b80 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8
parentc723492f2f326fd7c6597bac45e58cd98a254dba (diff)
downloadydb-2896882074ce784b7cabc4f2f7c502db74b34b80.tar.gz
Restoring authorship annotation for <sage@yandex-team.ru>. Commit 2 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 8b8340fa63..79beba3647 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 e321bfca74..6f7e0a27e4 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)