address issues raised from latest mypy (#972)

This commit is contained in:
bmc-msft
2021-06-09 12:04:24 -04:00
committed by GitHub
parent 3794bb0c68
commit da931b3a5c
3 changed files with 6 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def reduce_logging() -> None:
"adal-python",
]
for name in logging.Logger.manager.loggerDict: # type: ignore
for name in logging.Logger.manager.loggerDict:
logger = logging.getLogger(name)
for prefix in to_quiet:
if logger.name.startswith(prefix):