From ba0895cf6973ca295eab4d922073105247cd749c Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 10 Nov 2020 15:16:18 +0100 Subject: [PATCH] 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(+) 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