Skip to content

Commit

Permalink
fix long line in tools/github.py
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Oct 16, 2024
1 parent 5fb4ae2 commit 6caab52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/tools/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -2112,8 +2112,8 @@ def new_pr(paths, ecs, title=None, descr=None, commit_msg=None):
for key, cur_patch in patch.items():
patch_info[key] = cur_patch
if 'name' not in patch_info:
raise EasyBuildError(f"Wrong patch spec '{patch}', when using a dict 'name' entry must be supplied",
exit_code=EasyBuildExit.EASYCONFIG_ERROR)
msg = f"Wrong patch spec '{patch}', when using a dict 'name' entry must be supplied"
raise EasyBuildError(msg, exit_code=EasyBuildExit.EASYCONFIG_ERROR)
patch = patch_info['name']

if patch not in paths['patch_files'] and not os.path.isfile(os.path.join(os.path.dirname(ec_path),
Expand Down

0 comments on commit 6caab52

Please sign in to comment.