forked from LBRYCommunity/lbry-sdk
Fix lint error lbry/utils.py
This commit is contained in:
parent
fad84c771c
commit
530f9c72ea
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue