We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06b343d commit 83873b5Copy full SHA for 83873b5
conda_build/environ.py
@@ -352,7 +352,7 @@ def get_dict(
352
skip_build_id=False,
353
escape_backslash=False,
354
variant=None,
355
- true_false_as_bool=False,
+ variant_true_false_as_bool=False,
356
):
357
if not prefix:
358
prefix = m.config.host_prefix
@@ -381,7 +381,7 @@ def get_dict(
381
for k, v in variant.items():
382
if not for_env or (k.upper() not in d and k.upper() not in LANGUAGES):
383
# coerce true and false as strings to bools
384
- if true_false_as_bool and isinstance(v, str) and v.lower() in ['true', 'false']:
+ if variant_true_false_as_bool and isinstance(v, str) and v.lower() in ['true', 'false']:
385
d[k] = v.lower() == 'true'
386
else:
387
d[k] = v
0 commit comments