Skip to content

Commit 678ce99

Browse files
committed
Revert "fix passing of arguments in ModuleEnvironmentVariable.remove"
This reverts commit 13f735c.
1 parent 87615f0 commit 678ce99

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

0 commit comments

Comments
 (0)