diff options
author | Alexander Smirnov <alex@ydb.tech> | 2025-04-19 00:51:37 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2025-04-19 00:51:37 +0000 |
commit | c46f4db13aad94d84f1930f145dc0d4cf79cbf43 (patch) | |
tree | f59e23b072305d922f5836f129bcd0c7dac5fdc9 /contrib/python/allure-python-commons/allure_commons/logger.py | |
parent | f73bc5d691a9919f911d7236692c067ef127e9e2 (diff) | |
parent | 605a8a3075d2116bf0c742d7ae889ba14b801a8e (diff) | |
download | ydb-c46f4db13aad94d84f1930f145dc0d4cf79cbf43.tar.gz |
Merge branch 'rightlib' into merge-libs-250419-0050
Diffstat (limited to 'contrib/python/allure-python-commons/allure_commons/logger.py')
-rw-r--r-- | contrib/python/allure-python-commons/allure_commons/logger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/allure-python-commons/allure_commons/logger.py b/contrib/python/allure-python-commons/allure_commons/logger.py index d0ac1e2491b..55f956f2507 100644 --- a/contrib/python/allure-python-commons/allure_commons/logger.py +++ b/contrib/python/allure-python-commons/allure_commons/logger.py @@ -15,7 +15,7 @@ class AllureFileLogger: def __init__(self, report_dir, clean=False): self._report_dir = Path(report_dir).absolute() if self._report_dir.is_dir() and clean: - shutil.rmtree(self._report_dir) + shutil.rmtree(self._report_dir, ignore_errors=True) self._report_dir.mkdir(parents=True, exist_ok=True) def _report_item(self, item): |