Skip to content

Commit 83873b5

Browse files
authored
Apply suggestions from code review
1 parent 06b343d commit 83873b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conda_build/environ.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def get_dict(
352352
skip_build_id=False,
353353
escape_backslash=False,
354354
variant=None,
355-
true_false_as_bool=False,
355+
variant_true_false_as_bool=False,
356356
):
357357
if not prefix:
358358
prefix = m.config.host_prefix
@@ -381,7 +381,7 @@ def get_dict(
381381
for k, v in variant.items():
382382
if not for_env or (k.upper() not in d and k.upper() not in LANGUAGES):
383383
# coerce true and false as strings to bools
384-
if true_false_as_bool and isinstance(v, str) and v.lower() in ['true', 'false']:
384+
if variant_true_false_as_bool and isinstance(v, str) and v.lower() in ['true', 'false']:
385385
d[k] = v.lower() == 'true'
386386
else:
387387
d[k] = v

0 commit comments

Comments
 (0)