aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Lib/trace.py
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2024-02-07 09:25:06 +0300
committerAlexander Smirnov <alex@ydb.tech>2024-02-09 19:18:32 +0300
commitf0785dc88eee3da0f1514f5b4cafa931571e669d (patch)
tree44165310ad6023cd29776f9b1b4477364cd2b5bb /contrib/tools/python3/src/Lib/trace.py
parent2c0985fb513cb5b352324abf223bf749c6c2bd24 (diff)
downloadydb-f0785dc88eee3da0f1514f5b4cafa931571e669d.tar.gz
Update Python 3 to 3.11.8
Diffstat (limited to 'contrib/tools/python3/src/Lib/trace.py')
-rwxr-xr-xcontrib/tools/python3/src/Lib/trace.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/tools/python3/src/Lib/trace.py b/contrib/tools/python3/src/Lib/trace.py
index fb9a423ea0..761916b180 100755
--- a/contrib/tools/python3/src/Lib/trace.py
+++ b/contrib/tools/python3/src/Lib/trace.py
@@ -258,8 +258,7 @@ class CoverageResults:
modulename = _modname(filename)
else:
dir = coverdir
- if not os.path.exists(dir):
- os.makedirs(dir)
+ os.makedirs(dir, exist_ok=True)
modulename = _fullmodname(filename)
# If desired, get a list of the line numbers which represent