Skip to content

Commit 057f268

Browse files
committed
Direct init dict
1 parent 0cb9a80 commit 057f268

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
@@ -638,12 +638,11 @@ def collect_exts_file_info(self, fetch_files=True, verify_checksums=True):
638638
'name': ext_name,
639639
'version': ext_version,
640640
'options': ext_options,
641+
# if a particular easyblock is specified, make sure it's used
642+
# (this is picked up by init_ext_instances)
643+
'easyblock': ext_options.get('easyblock', None),
641644
}
642645

643-
# if a particular easyblock is specified, make sure it's used
644-
# (this is picked up by init_ext_instances)
645-
ext_src['easyblock'] = ext_options.get('easyblock', None)
646-
647646
# construct dictionary with template values;
648647
# inherited from parent, except for name/version templates which are specific to this extension
649648
template_values = copy.deepcopy(self.cfg.template_values)

0 commit comments

Comments
 (0)