summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2019-10-10 15:10:37 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-10-10 14:26:49 +0000
commit174b17d65d2a181502c81cdd490f25da40d1c22d (patch)
treef8a2a1c83eeb34818502c86b3fc7822342cb40df /util/cmake/configurejson2cmake.py
parent6167031ecc3c5bac924ca8deb469cf3dc6886704 (diff)
cmake scripts: flake8 cleanup
At least setting the example install dir looks like a bug. Change-Id: Ibcced739d05de5445fa455e509cc6f42b9ed935b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-xutil/cmake/configurejson2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 32394f31c49..38b80e055f0 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -307,7 +307,7 @@ def map_condition(condition):
print(f' XXXX Unknown condition "{match.group(0)}"')
has_failed = True
else:
- mapped_condition += condition[last_pos : match.start(1)] + substitution
+ mapped_condition += condition[last_pos: match.start(1)] + substitution
last_pos = match.end(2)
mapped_condition += condition[last_pos:]