Commit 1feafb15 authored by Markus Holzer's avatar Markus Holzer
Browse files

Small fix

parent de6b0007
Pipeline #35938 passed with stages
in 225 minutes and 47 seconds
...@@ -64,9 +64,9 @@ def parse_json_args(): ...@@ -64,9 +64,9 @@ def parse_json_args():
expected_files = parsed['EXPECTED_FILES'] expected_files = parsed['EXPECTED_FILES']
cmake_vars = {} cmake_vars = {}
for key, value in parsed['CMAKE_VARS'].items(): for key, value in parsed['CMAKE_VARS'].items():
if value.lower() in ("on", "1", "yes", "true"): if str(value).lower() in ("on", "1", "yes", "true"):
value = True value = True
elif value.lower() in ("off", "0", "no", "false"): elif str(value).lower() in ("off", "0", "no", "false"):
value = False value = False
cmake_vars[key] = value cmake_vars[key] = value
return expected_files, cmake_vars return expected_files, cmake_vars
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment