Skip to content

Commit 003b7f5

Browse files
committed
Explicitely print <unset> for unset MODULEPATH
1 parent 65a7d91 commit 003b7f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def run_module(self, *args, **kwargs):
801801
else:
802802
args = list(args)
803803

804-
self.log.debug('Current MODULEPATH: %s' % os.environ.get('MODULEPATH', ''))
804+
self.log.debug('Current MODULEPATH: %s' % os.environ.get('MODULEPATH', '<unset>'))
805805

806806
# restore selected original environment variables before running module command
807807
environ = os.environ.copy()

0 commit comments

Comments
 (0)