Skip to content

Commit beeceed

Browse files
committed
Avoid warning in make_module_pythonpath
1 parent faf549b commit beeceed

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
@@ -1429,9 +1429,9 @@ def make_module_pythonpath(self):
14291429

14301430
if use_ebpythonprefixes:
14311431
path = '' # EBPYTHONPREFIXES are relative to the install dir
1432-
lines = self.module_generator.prepend_paths(EBPYTHONPREFIXES, path)
1432+
lines = self.module_generator.prepend_paths(EBPYTHONPREFIXES, path, warn_exists=False)
14331433
else:
1434-
lines = self.module_generator.prepend_paths(PYTHONPATH, python_paths)
1434+
lines = self.module_generator.prepend_paths(PYTHONPATH, python_paths, warn_exists=False)
14351435
return [lines] if lines else []
14361436

14371437
def make_module_extra(self, altroot=None, altversion=None):

0 commit comments

Comments
 (0)