We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87615f0 commit 678ce99Copy full SHA for 678ce99
easybuild/tools/modules.py
@@ -228,7 +228,7 @@ def update(self, item):
228
def remove(self, *args):
229
"""Shortcut to remove items from list of contents"""
230
try:
231
- self.contents.remove(args)
+ self.contents.remove(*args)
232
except ValueError:
233
# item is not in the list, move along
234
self.log.debug(f"ModuleEnvironmentVariable does not contain item: {' '.join(args)}")
0 commit comments