aboutsummaryrefslogtreecommitdiffstats
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
commitd3ee18093cac15c8c0746b371bf311882131b133 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8
parenta7d2aff0c33129eecb25ed04190b40eb79076433 (diff)
downloadydb-d3ee18093cac15c8c0746b371bf311882131b133.tar.gz
Restoring authorship annotation for <razmser@yandex-team.ru>. Commit 2 of 2.
-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 85a1171e2f..fdb1f82a46 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 284fc0601e..6296bd6f0f 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