We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a1fe8 commit edb5bbeCopy full SHA for edb5bbe
easybuild/framework/easyblock.py
@@ -2243,11 +2243,16 @@ def init_ext_instances(self):
2243
"""
2244
Create class instances for all extensions.
2245
2246
+ exts_list = self.cfg.get_ref('exts_list')
2247
+
2248
+ # early exit if there are no extensions
2249
+ if not exts_list:
2250
+ return
2251
2252
self.ext_instances = []
2253
exts_classmap = self.cfg['exts_classmap']
2254
- if self.cfg['exts_list'] and not self.exts:
2255
+ if exts_list and not self.exts:
2256
self.exts = self.fetch_extension_sources()
2257
2258
# obtain name and module path for default extention class
0 commit comments