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 ce18c9e commit df086aeCopy full SHA for df086ae
easybuild/tools/utilities.py
@@ -234,10 +234,8 @@ def unique_ordered_append(base, extra):
234
raise EasyBuildError( f"given extra list is not iterable: {extra}") from err
235
except AttributeError as err:
236
raise EasyBuildError(f"given base cannot be extended: {base}") from err
237
- else:
238
- base = nub(base) # remove duplicates
239
240
- return base
+ return nub(base) # remove duplicates
241
242
243
def get_class_for(modulepath, class_name):
0 commit comments