Skip to content

Commit 6caab52

Browse files
committed
fix long line in tools/github.py
1 parent 5fb4ae2 commit 6caab52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

easybuild/tools/github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,8 +2112,8 @@ def new_pr(paths, ecs, title=None, descr=None, commit_msg=None):
21122112
for key, cur_patch in patch.items():
21132113
patch_info[key] = cur_patch
21142114
if 'name' not in patch_info:
2115-
raise EasyBuildError(f"Wrong patch spec '{patch}', when using a dict 'name' entry must be supplied",
2116-
exit_code=EasyBuildExit.EASYCONFIG_ERROR)
2115+
msg = f"Wrong patch spec '{patch}', when using a dict 'name' entry must be supplied"
2116+
raise EasyBuildError(msg, exit_code=EasyBuildExit.EASYCONFIG_ERROR)
21172117
patch = patch_info['name']
21182118

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

0 commit comments

Comments
 (0)