fill: Use program logger over module logger to report problems.

This commit is contained in:
Brett Smith 2021-01-10 11:08:25 -05:00
parent 1c95c1b1b1
commit 728db9983e

View file

@ -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