Skip to content

Commit

Permalink
use str rather than string_type in Bundle easyblock
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Dec 26, 2024
1 parent 7342a46 commit 329aa6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/easyblocks/generic/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def make_module_req_guess(self):
# for make_module_req_guess() which should then be fixed in the components EasyBlock.
try:
for key, value in sorted(reqs.items()):
if isinstance(value, string_type):
if isinstance(value, str):
value = [value]
final_reqs.setdefault(key, [])
final_reqs[key].extend(value)
Expand Down

0 comments on commit 329aa6d

Please sign in to comment.