Skip to content

Commit

Permalink
hot fix for easybuilders#4281
Browse files Browse the repository at this point in the history
  • Loading branch information
mboisson committed Jun 16, 2023
1 parent 0967379 commit 59d2f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/tools/module_naming_scheme/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def det_full_ec_version(ec):
type(versionprefix).__name__, versionprefix, ec)

versionsuffix = ec.get('versionsuffix', '')
if not isinstance(versionsuffix, string_type):
raise EasyBuildError("versionsuffix value should be a string, found '%s': %s (full spec: %s)",
if not isinstance(versionsuffix, string_type) and versionsuffix is not None:
raise EasyBuildError("versionsuffix value should be a string or None, found '%s': %s (full spec: %s)",
type(versionsuffix).__name__, versionsuffix, ec)

ecver = ''.join([x for x in [versionprefix, ecver, versionsuffix] if x])
Expand Down

0 comments on commit 59d2f54

Please sign in to comment.