Skip to content

Commit

Permalink
Avoid warning in make_module_pythonpath
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Nov 8, 2024
1 parent b630f84 commit afb579b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1429,9 +1429,9 @@ def make_module_pythonpath(self):

if use_ebpythonprefixes:
path = '' # EBPYTHONPREFIXES are relative to the install dir
lines = self.module_generator.prepend_paths(EBPYTHONPREFIXES, path)
lines = self.module_generator.prepend_paths(EBPYTHONPREFIXES, path, warn_exists=False)
else:
lines = self.module_generator.prepend_paths(PYTHONPATH, python_paths)
lines = self.module_generator.prepend_paths(PYTHONPATH, python_paths, warn_exists=False)
return [lines] if lines else []

def make_module_extra(self, altroot=None, altversion=None):
Expand Down

0 comments on commit afb579b

Please sign in to comment.