Skip to content

Commit

Permalink
startswith
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Jul 22, 2022
1 parent 845e852 commit 4368ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _configure_z3():
# Allow command-line arguments to add and override Z3_ options
for i in range(len(sys.argv) - 1):
key = sys.argv[i]
if key.starts_with("Z3_"):
if key.startswith("Z3_"):
val = sys.argv[i + 1].upper()
if val == "TRUE" or val == "FALSE":
cmake_options[key] = val
Expand Down

0 comments on commit 4368ec9

Please sign in to comment.