Skip to content

Commit

Permalink
Merge pull request easybuilders#4473 from branfosj/log.warn
Browse files Browse the repository at this point in the history
replace `log.warn` with `log.warning`
  • Loading branch information
boegel authored Mar 6, 2024
2 parents 849ffed + 5377e40 commit 82c8516
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion easybuild/tools/filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2240,7 +2240,7 @@ def det_size(path):
if os.path.exists(fullpath):
installsize += os.path.getsize(fullpath)
except OSError as err:
_log.warn("Could not determine install size: %s" % err)
_log.warning("Could not determine install size: %s" % err)

return installsize

Expand Down
2 changes: 1 addition & 1 deletion test/framework/build_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def test_log_levels(self):
log.error('kaput')
log.deprecated('almost kaput', '10000000000000')
log.raiseError = True
log.warn('this is a warning')
log.warning('this is a warning')
log.info('fyi')
log.debug('gdb')
log.devel('tmi')
Expand Down

0 comments on commit 82c8516

Please sign in to comment.