Fix NonVirtualInHierarchyError message format (#26008)
This commit is contained in:
parent
205b414162
commit
9926799aeb
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ def hierarchy_tokens(self):
|
|||
if not_virtual:
|
||||
msg = "Non-virtual specs in 'hierarchy' list for lmod: {0}\n"
|
||||
msg += "Please check the 'modules.yaml' configuration files"
|
||||
msg.format(', '.join(not_virtual))
|
||||
msg = msg.format(', '.join(not_virtual))
|
||||
raise NonVirtualInHierarchyError(msg)
|
||||
|
||||
# Append 'compiler' which is always implied
|
||||
|
|
Loading…
Reference in a new issue