Fix one more remaining loop passing for 3.8 in a Lock
This commit is contained in:
parent
a6f61dcbde
commit
1b040fd4ba
@ -113,7 +113,7 @@ class HTTPClient:
|
|||||||
|
|
||||||
lock = self._locks.get(bucket)
|
lock = self._locks.get(bucket)
|
||||||
if lock is None:
|
if lock is None:
|
||||||
lock = asyncio.Lock(loop=self.loop)
|
lock = asyncio.Lock()
|
||||||
if bucket is not None:
|
if bucket is not None:
|
||||||
self._locks[bucket] = lock
|
self._locks[bucket] = lock
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user