Skip to content

Commit 4c8473c

Browse files
authored
Only log the warning
1 parent 1feb790 commit 4c8473c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/filetools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@ def apply_regex_substitutions(path, regex_subs, backup='.orig.eb', on_missing_ma
13441344
if on_missing_match == run.ERROR:
13451345
raise EasyBuildError(msg)
13461346
elif on_missing_match == run.WARN:
1347-
print_warning(msg)
1347+
log.warning(msg)
13481348
else:
13491349
_log.info(msg)
13501350

0 commit comments

Comments
 (0)