aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/build_clang_qdoc.py
diff options
context:
space:
mode:
authorPatrik Teivonen <patrik.teivonen@qt.io>2023-01-16 15:01:25 +0200
committerPatrik Teivonen <patrik.teivonen@qt.io>2023-01-24 08:16:33 +0000
commit01d17cf6af71dab74831825887667611fc90234a (patch)
tree7efdc83b3ef088b58d70d3a83409a8c320bb174f /packaging-tools/build_clang_qdoc.py
parent815ed7e8b0083cbaf6919cc87a2e6e1dd6a62729 (diff)
PL103: os.makedirs(path) should be replaced by path.mkdir(parents=True)v6.5.0-beta2-packaging
Change-Id: Ie72f6555f99eeb8e499011d43d3035424ed9647f Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'packaging-tools/build_clang_qdoc.py')
-rw-r--r--packaging-tools/build_clang_qdoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging-tools/build_clang_qdoc.py b/packaging-tools/build_clang_qdoc.py
index 97377032a..bb0993c21 100644
--- a/packaging-tools/build_clang_qdoc.py
+++ b/packaging-tools/build_clang_qdoc.py
@@ -229,7 +229,7 @@ def build_clang(
build_type: str = "Release",
) -> None:
if build_path and not os.path.lexists(build_path):
- os.makedirs(build_path)
+ Path(build_path).mkdir(parents=True)
cmake_cmd = cmake_command(toolchain, src_path, install_path, bitness, build_type)