Skip to content

Commit

Permalink
Switch to using prepend_paths instead of append_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Micket committed Jul 3, 2024
1 parent 0150194 commit 0ce388e
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 @@ -1435,9 +1435,9 @@ def make_module_extra(self, altroot=None, altversion=None):
raise EasyBuildError('Multiple python paths requires EBPYHONPREFIXES: ' + ', '.join(python_paths))
elif python_paths:
if use_ebpythonprefixes:
lines.append(self.module_generator.append_paths('EBPYHONPREFIXES', '.'))
lines.append(self.module_generator.prepend_paths('EBPYHONPREFIXES', '.'))
else:
lines.append(self.module_generator.append_paths('PYTHONPATH', python_paths))
lines.append(self.module_generator.prepend_paths('PYTHONPATH', python_paths))

modloadmsg = self.cfg['modloadmsg']
if modloadmsg:
Expand Down

0 comments on commit 0ce388e

Please sign in to comment.