Skip to content

Commit 0bee2ec

Browse files
committed
fix EasyBlock in deprecation log message produced by EasyBlock.install_extensions
1 parent 6074b55 commit 0bee2ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

easybuild/framework/easyblock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,7 +1867,7 @@ def skip_extensions_parallel(self, exts_filter):
18671867
def install_extensions(self, *args, **kwargs):
18681868
"""[DEPRECATED] Install extensions."""
18691869
self.log.deprecated(
1870-
"Easyblock.install_extensions() is deprecated, use Easyblock.install_all_extensions() instead.",
1870+
"EasyBlock.install_extensions() is deprecated, use EasyBlock.install_all_extensions() instead.",
18711871
'6.0',
18721872
)
18731873
self.install_all_extensions(*args, **kwargs)
@@ -4479,7 +4479,7 @@ def copy_easyblocks_for_reprod(easyblock_instances, reprod_dir):
44794479
for easyblock_class in inspect.getmro(type(easyblock_instance)):
44804480
easyblock_path = inspect.getsourcefile(easyblock_class)
44814481
# if we reach EasyBlock, Extension or ExtensionEasyBlock class, we are done
4482-
# (Extension and ExtensionEasyblock are hardcoded to avoid a cyclical import)
4482+
# (Extension and ExtensionEasyBlock are hardcoded to avoid a cyclical import)
44834483
if easyblock_class.__name__ in [EasyBlock.__name__, 'Extension', 'ExtensionEasyBlock']:
44844484
break
44854485
else:

0 commit comments

Comments
 (0)