fill: Use program logger over module logger to report problems.
This commit is contained in:
		
							parent
							
								
									1c95c1b1b1
								
							
						
					
					
						commit
						728db9983e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -402,7 +402,7 @@ def main(arglist: Optional[Sequence[str]]=None,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    worst_problem = -1
 | 
					    worst_problem = -1
 | 
				
			||||||
    for problem in problems:
 | 
					    for problem in problems:
 | 
				
			||||||
        problem.log()
 | 
					        problem.log(logger)
 | 
				
			||||||
        worst_problem = max(worst_problem, problem.level)
 | 
					        worst_problem = max(worst_problem, problem.level)
 | 
				
			||||||
    if args.force > 1:
 | 
					    if args.force > 1:
 | 
				
			||||||
        problems_fatal = False
 | 
					        problems_fatal = False
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue