Fix one more remaining loop passing for 3.8 in a Lock

This commit is contained in:
Rapptz 2019-11-20 02:37:00 -05:00
parent a6f61dcbde
commit 1b040fd4ba

View File

@ -113,7 +113,7 @@ class HTTPClient:
lock = self._locks.get(bucket)
if lock is None:
lock = asyncio.Lock(loop=self.loop)
lock = asyncio.Lock()
if bucket is not None:
self._locks[bucket] = lock