aboutsummaryrefslogtreecommitdiffstats
path: root/library/python
diff options
context:
space:
mode:
authorrazmser <razmser@yandex-team.ru>2022-02-10 16:51:06 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:06 +0300
commita7d2aff0c33129eecb25ed04190b40eb79076433 (patch)
tree75ed6ef777733fc3129f9e884c45f602911dddda /library/python
parent0f5d0a9b272dfa0ec3c805cc44b65094ddd07008 (diff)
downloadydb-a7d2aff0c33129eecb25ed04190b40eb79076433.tar.gz
Restoring authorship annotation for <razmser@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/python')
-rw-r--r--library/python/cores/__init__.py4
-rw-r--r--library/python/pytest/main.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/library/python/cores/__init__.py b/library/python/cores/__init__.py
index fdb1f82a46..85a1171e2f 100644
--- a/library/python/cores/__init__.py
+++ b/library/python/cores/__init__.py
@@ -75,9 +75,9 @@ def recover_core_dump_file(binary_path, cwd, pid):
# widely distributed core dump dir and mask (see DEVTOOLS-4408)
yandex_pattern = CoreFilePattern('/coredumps', '%e.%p.%s')
- yandex_market_pattern = CoreFilePattern('/var/tmp/cores', 'core.%..%e.%s.%p.*')
+ yandex_market_pattern = CoreFilePattern('/var/tmp/cores', 'core.%..%e.%s.%p.*')
- for pattern in [default_pattern, yandex_pattern, yandex_market_pattern]:
+ for pattern in [default_pattern, yandex_pattern, yandex_market_pattern]:
pattern.mask = resolve_core_mask(pattern.mask)
if not os.path.exists(pattern.path):
diff --git a/library/python/pytest/main.py b/library/python/pytest/main.py
index 6296bd6f0f..284fc0601e 100644
--- a/library/python/pytest/main.py
+++ b/library/python/pytest/main.py
@@ -59,7 +59,7 @@ def main():
def is_doctest_module(name):
for package in doctest_packages:
- if name == package or name.startswith(str(package) + "."):
+ if name == package or name.startswith(str(package) + "."):
return True
return False