Skip to content

Commit

Permalink
fix passing of arguments in ModuleEnvironmentVariable.remove
Browse files Browse the repository at this point in the history
  • Loading branch information
lexming committed Jan 13, 2025
1 parent a9e5267 commit 13f735c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/tools/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def update(self, item):
def remove(self, *args):
"""Shortcut to remove items from list of contents"""
try:
self.contents.remove(*args)
self.contents.remove(args)
except ValueError:
# item is not in the list, move along
self.log.debug(f"ModuleEnvironmentVariable does not contain item: {' '.join(args)}")
Expand Down

0 comments on commit 13f735c

Please sign in to comment.