diff options
author | Mikhail Borisov <borisov.mikhail@gmail.com> | 2022-02-10 16:45:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:40 +0300 |
commit | 5d50718e66d9c037dc587a0211110b7d25a66185 (patch) | |
tree | e98df59de24d2ef7c77baed9f41e4875a2fef972 /library/python/cores | |
parent | a6a92afe03e02795227d2641b49819b687f088f8 (diff) | |
download | ydb-5d50718e66d9c037dc587a0211110b7d25a66185.tar.gz |
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/python/cores')
-rw-r--r-- | library/python/cores/__init__.py | 8 | ||||
-rw-r--r-- | library/python/cores/ya.make | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/python/cores/__init__.py b/library/python/cores/__init__.py index d6bd3c828d..fdb1f82a46 100644 --- a/library/python/cores/__init__.py +++ b/library/python/cores/__init__.py @@ -8,8 +8,8 @@ import logging import platform import subprocess -import six - +import six + from library.python.reservoir_sampling import reservoir_sampling @@ -125,9 +125,9 @@ def get_gdb_full_backtrace(binary, core, gdb_path): ] proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) output, stderr = proc.communicate() - output = six.ensure_str(output) + output = six.ensure_str(output) if stderr: - output += "\nstderr >>\n" + six.ensure_str(stderr) + output += "\nstderr >>\n" + six.ensure_str(stderr) return output diff --git a/library/python/cores/ya.make b/library/python/cores/ya.make index c5312bf458..76264e9cce 100644 --- a/library/python/cores/ya.make +++ b/library/python/cores/ya.make @@ -8,7 +8,7 @@ PY23_LIBRARY() PY_SRCS(__init__.py) PEERDIR( - contrib/python/six + contrib/python/six library/python/reservoir_sampling ) |