We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e08c6a4 commit 041dc5dCopy full SHA for 041dc5d
rethinkdb/asyncio_net/net_asyncio.py
@@ -234,7 +234,8 @@ async def connect(self, timeout):
234
break
235
# This may happen in the `V1_0` protocol where we send two requests as
236
# an optimization, then need to read each separately
237
- if request is not "":
+ # if request is not "": # SyntaxWarning: "is not" with a literal. Did you mean "!="?
238
+ if request != "":
239
self._streamwriter.write(request)
240
241
# response = yield from asyncio.wait_for(
0 commit comments