Skip to content

Commit

Permalink
must support python < 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj authored Apr 27, 2024
1 parent 27a6e93 commit a91b1a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,8 @@ def main(args=None, logfile=None, do_build=None, testing=False, modtool=None, pr

# compare running Framework and EasyBlocks versions
if different_major_versions(FRAMEWORK_VERSION, EASYBLOCKS_VERSION):
raise EasyBuildError(f"Framework ({FRAMEWORK_VERSION}) and EasyBlock ({EASYBLOCKS_VERSION}) major versions "
"are different.")
raise EasyBuildError("Framework (%s) and EasyBlock (%s) major versions are different." % (FRAMEWORK_VERSION,
EASYBLOCKS_VERSION))

# load hook implementations (if any)
hooks = load_hooks(options.hooks)
Expand Down

0 comments on commit a91b1a4

Please sign in to comment.