forked from LBRYCommunity/lbry-sdk
pylint
This commit is contained in:
parent
c1803434aa
commit
f995ceae8b
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Database:
|
||||||
# seems to only happen when running in PyCharm
|
# seems to only happen when running in PyCharm
|
||||||
# https://github.com/python/cpython/pull/6084#issuecomment-564585446
|
# https://github.com/python/cpython/pull/6084#issuecomment-564585446
|
||||||
# TODO: delete this in Python 3.8/3.9?
|
# TODO: delete this in Python 3.8/3.9?
|
||||||
from concurrent.futures.process import _threads_wakeups
|
from concurrent.futures.process import _threads_wakeups # pylint: disable=import-outside-toplevel
|
||||||
_threads_wakeups.clear()
|
_threads_wakeups.clear()
|
||||||
|
|
||||||
async def run(self, func, *args, **kwargs):
|
async def run(self, func, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue