Skip to content

Commit

Permalink
replace log.warn with log.warning
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj committed Mar 2, 2024
1 parent ae320db commit 5377e40
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 5377e40

Please sign in to comment.