Fix lint error lbry/utils.py

This commit is contained in:
Jonathan Moody 2022-04-29 15:39:43 -04:00
parent fad84c771c
commit 530f9c72ea

View file

@ -132,7 +132,7 @@ def json_dumps_pretty(obj, **kwargs):
try: try:
# the standard contextlib.aclosing() is available in 3.10+ # the standard contextlib.aclosing() is available in 3.10+
from contextlib import aclosing from contextlib import aclosing # pylint: disable=unused-import
except ImportError: except ImportError:
@contextlib.asynccontextmanager @contextlib.asynccontextmanager
async def aclosing(thing): async def aclosing(thing):