summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-11-10 15:16:18 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-11-10 16:54:53 +0100
commitba0895cf6973ca295eab4d922073105247cd749c (patch)
treedc8c1ebc73b028efc89b250bb57a045a3ed78cc1 /util/cmake/configurejson2cmake.py
parent30ba185583285cb3381b0115184ff3b553b3611e (diff)
configurejson2cmake: Follow up fix to a regression
UnboundLocalError: local variable 'skip_special_case_preservation' referenced before assignment Change-Id: Ic7419e0bdd04a4251182d1a2616cd57e89e62432 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-xutil/cmake/configurejson2cmake.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index c930acaf75..60b92539e1 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -1562,6 +1562,7 @@ def main():
print("This scripts needs one directory to process!")
quit(1)
+ skip_special_case_preservation = False
if len(sys.argv) > 2 and sys.argv[2] == '-s':
skip_special_case_preservation = True