Fix linter errors

This commit is contained in:
Seamus Johnston 2022-09-30 15:10:16 -05:00
parent 828051854e
commit cc4621ad20
No known key found for this signature in database
GPG key ID: 2F21225985069105
2 changed files with 1 additions and 2 deletions

View file

@ -3,6 +3,7 @@ import logging
from contextlib import contextmanager
def get_handlers():
"""Obtain pointers to all StreamHandlers."""
handlers = {}
@ -46,4 +47,3 @@ def less_console_noise():
# restore the streams
for handler in handlers.values():
handler.setStream(restore[handler.name])