Skip to content

Commit de8f3fc

Browse files
author
Francisco José González Carrillo
committed
Remove whitespaces in blank lines
1 parent c9c84b6 commit de8f3fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

easybuild/framework/easyblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1411,7 +1411,7 @@ def make_module_extra(self, altroot=None, altversion=None):
14111411
if not modloadmsg.endswith('\n'):
14121412
modloadmsg += '\n'
14131413
lines.append(self.module_generator.msg_on_load(modloadmsg))
1414-
1414+
14151415
modunloadmsg = self.cfg['modunloadmsg']
14161416
if modunloadmsg:
14171417
# add trailing newline to prevent that shell prompt is 'glued' to module unload/purge message

easybuild/tools/module_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ def msg_on_load(self, msg):
956956
msg = re.sub(r'((?<!\\)[%s])' % ''.join(self.CHARS_TO_ESCAPE), r'\\\1', msg)
957957
print_cmd = "puts stderr %s" % quote_str(msg, tcl=True)
958958
return '\n'.join(['', self.conditional_statement("module-info mode load", print_cmd, indent=False)])
959-
959+
960960
def msg_on_unload(self, msg):
961961
"""
962962
Add a message that should be printed when unloading the module.

0 commit comments

Comments
 (0)