Skip to content

Commit 925909a

Browse files
committed
Direct init dict
1 parent 8860606 commit 925909a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

easybuild/framework/easyblock.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,12 +668,11 @@ def collect_exts_file_info(self, fetch_files=True, verify_checksums=True):
668668
'name': ext_name,
669669
'version': ext_version,
670670
'options': ext_options,
671+
# if a particular easyblock is specified, make sure it's used
672+
# (this is picked up by init_ext_instances)
673+
'easyblock': ext_options.get('easyblock', None),
671674
}
672675

673-
# if a particular easyblock is specified, make sure it's used
674-
# (this is picked up by init_ext_instances)
675-
ext_src['easyblock'] = ext_options.get('easyblock', None)
676-
677676
# construct dictionary with template values;
678677
# inherited from parent, except for name/version templates which are specific to this extension
679678
template_values = copy.deepcopy(self.cfg.template_values)

0 commit comments

Comments
 (0)