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 @@ -1153,7 +1153,7 @@ def main(
11531153                tool  =  make_tool (uri , loadingContext )
11541154            except  GraphTargetMissingException  as  main_missing_exc :
11551155                if  args .validate :
1156-                     logging .warn (
1156+                     logging .warning (
11571157                        "File contains $graph of multiple objects and no default " 
11581158                        "process (#main). Validating all objects:" 
11591159                    )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments