aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/allure-python-commons/allure_commons/logger.py
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-04-19 00:51:37 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-04-19 00:51:37 +0000
commitc46f4db13aad94d84f1930f145dc0d4cf79cbf43 (patch)
treef59e23b072305d922f5836f129bcd0c7dac5fdc9 /contrib/python/allure-python-commons/allure_commons/logger.py
parentf73bc5d691a9919f911d7236692c067ef127e9e2 (diff)
parent605a8a3075d2116bf0c742d7ae889ba14b801a8e (diff)
downloadydb-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.py2
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):