Skip to content

Commit 95e8c48

Browse files
committed
When combining multi_deps with iterative builds, it generates a list with duplicates. This commit fixes that
1 parent 21d8ebc commit 95e8c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/module_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def _generate_help_text(self):
666666
if multi_deps:
667667
compatible_modules_txt = '\n'.join([
668668
"This module is compatible with the following modules, one of each line is required:",
669-
] + ['* %s' % d for d in multi_deps])
669+
] + ['* %s' % d for d in set(multi_deps)])
670670
lines.extend(self._generate_section("Compatible modules", compatible_modules_txt))
671671

672672
# Extensions (if any)

0 commit comments

Comments
 (0)