Skip to content

Commit

Permalink
Fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Sep 16, 2020
1 parent d3c90b9 commit c68b731
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easybuild/tools/filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,8 @@ def apply_regex_substitutions(path, regex_subs, backup='.orig.eb', on_missing_ma
on_missing_match = build_option('strict')
allowed_values = (run.ERROR, run.WARN, run.IGNORE)
if on_missing_match not in allowed_values:
raise EasyBuildError('Invalid value passed to on_missing_match: %s (allowed: %s)', on_missing_match, ', '.join(allowed_values))
raise EasyBuildError('Invalid value passed to on_missing_match: %s (allowed: %s)',
on_missing_match, ', '.join(allowed_values))

# only report when in 'dry run' mode
if build_option('extended_dry_run'):
Expand Down

0 comments on commit c68b731

Please sign in to comment.