Skip to content

Commit 13f735c

Browse files
committed
fix passing of arguments in ModuleEnvironmentVariable.remove
1 parent a9e5267 commit 13f735c

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
@@ -225,7 +225,7 @@ def update(self, item):
225225
def remove(self, *args):
226226
"""Shortcut to remove items from list of contents"""
227227
try:
228-
self.contents.remove(*args)
228+
self.contents.remove(args)
229229
except ValueError:
230230
# item is not in the list, move along
231231
self.log.debug(f"ModuleEnvironmentVariable does not contain item: {' '.join(args)}")

0 commit comments

Comments
 (0)