File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -900,7 +900,7 @@ def docker_monitor(
900900 try :
901901 os .remove (cidfile )
902902 except OSError as exc :
903- _logger .warn (
903+ _logger .warning (
904904 "Ignored error cleaning up Docker cidfile: %s" , exc
905905 )
906906 return
@@ -923,7 +923,7 @@ def docker_monitor(
923923 process .wait ()
924924 stats_proc .kill ()
925925 except OSError as exc :
926- _logger .warn ("Ignored error with docker stats: %s" , exc )
926+ _logger .warning ("Ignored error with docker stats: %s" , exc )
927927 return
928928 max_mem_percent = 0 # type: float
929929 mem_percent = 0 # type: float
Original file line number Diff line number Diff line change @@ -1155,7 +1155,7 @@ def main(
11551155 tool = make_tool (uri , loadingContext )
11561156 except GraphTargetMissingException as main_missing_exc :
11571157 if args .validate :
1158- logging .warn (
1158+ logging .warning (
11591159 "File contains $graph of multiple objects and no default "
11601160 "process (#main). Validating all objects:"
11611161 )
You can’t perform that action at this time.
0 commit comments