Skip to content

Commit

Permalink
Update templates.py for the style check
Browse files Browse the repository at this point in the history
  • Loading branch information
xinan1911 authored Oct 24, 2023
1 parent dfe0c8e commit 6d6571a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/framework/easyconfig/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def template_constant_dict(config, ignore=None, skip_lower=None, toolchain=None)

# set 'sysroot' based on sysroot build option
sysroot = build_option('sysroot')
if sysroot == None:
if sysroot is None:
template_values['sysroot'] = ""
else:
template_values['sysroot'] = sysroot
Expand Down

0 comments on commit 6d6571a

Please sign in to comment.