Skip to content

Commit 6d6571a

Browse files
authored
Update templates.py for the style check
1 parent dfe0c8e commit 6d6571a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/framework/easyconfig/templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def template_constant_dict(config, ignore=None, skip_lower=None, toolchain=None)
205205

206206
# set 'sysroot' based on sysroot build option
207207
sysroot = build_option('sysroot')
208-
if sysroot == None:
208+
if sysroot is None:
209209
template_values['sysroot'] = ""
210210
else:
211211
template_values['sysroot'] = sysroot

0 commit comments

Comments
 (0)