From 8b4cf52920d5343640e9b38f6f0bda336f6fd929 Mon Sep 17 00:00:00 2001 From: Simon Branford Date: Sun, 11 Jun 2023 09:50:57 +0100 Subject: [PATCH] removed deprecated mod_exists_regex_template to exist --- easybuild/tools/modules.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/easybuild/tools/modules.py b/easybuild/tools/modules.py index 9037be6ea8..8fd2fc9d09 100644 --- a/easybuild/tools/modules.py +++ b/easybuild/tools/modules.py @@ -548,18 +548,14 @@ def module_wrapper_exists(self, mod_name, modulerc_fn='.modulerc', mod_wrapper_r return wrapped_mod - def exist(self, mod_names, mod_exists_regex_template=None, skip_avail=False, maybe_partial=True): + def exist(self, mod_names, skip_avail=False, maybe_partial=True): """ Check if modules with specified names exists. :param mod_names: list of module names - :param mod_exists_regex_template: DEPRECATED and unused :param skip_avail: skip checking through 'module avail', only check via 'module show' :param maybe_partial: indicates if the module name may be a partial module name """ - if mod_exists_regex_template is not None: - self.log.deprecated('mod_exists_regex_template is no longer used', '5.0') - def mod_exists_via_show(mod_name): """ Helper function to check whether specified module name exists through 'module show'.