From 6d6571a902c6f004bdc7bd840b696e028f179ecf Mon Sep 17 00:00:00 2001 From: Xin An <34663977+xinan1911@users.noreply.github.com> Date: Tue, 24 Oct 2023 17:28:41 +0200 Subject: [PATCH] Update templates.py for the style check --- easybuild/framework/easyconfig/templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/framework/easyconfig/templates.py b/easybuild/framework/easyconfig/templates.py index fa8c8861ea..9949955854 100644 --- a/easybuild/framework/easyconfig/templates.py +++ b/easybuild/framework/easyconfig/templates.py @@ -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