From ba0895cf6973ca295eab4d922073105247cd749c Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 10 Nov 2020 15:16:18 +0100 Subject: configurejson2cmake: Follow up fix to a regression UnboundLocalError: local variable 'skip_special_case_preservation' referenced before assignment Change-Id: Ic7419e0bdd04a4251182d1a2616cd57e89e62432 Reviewed-by: Joerg Bornemann --- util/cmake/configurejson2cmake.py | 1 + 1 file changed, 1 insertion(+) (limited to 'util/cmake/configurejson2cmake.py') 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 -- cgit v1.2.3