Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ffc39d

Browse files
committed
minor 3.10 fix
1 parent bc1a75a commit 6ffc39d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rethinkdb/asyncio_net/net_asyncio.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def wait(future):
7575
new_timeout = max(deadline - loop.time(), 0)
7676
else:
7777
new_timeout = None
78-
return (yield from asyncio.wait_for(future, new_timeout, loop=loop))
78+
return (yield from asyncio.wait_for(future, new_timeout))
7979

8080
return wait
8181

@@ -233,7 +233,6 @@ def connect(self, timeout):
233233
response = yield from asyncio.wait_for(
234234
_read_until(self._streamreader, b"\0"),
235235
timeout,
236-
loop=self._io_loop,
237236
)
238237
response = response[:-1]
239238
except ReqlAuthError:

0 commit comments

Comments
 (0)