Skip to content

Commit b5d19a0

Browse files
committed
fix: syntax warning
1 parent 7437642 commit b5d19a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rethinkdb/net.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def __init__(self, parent, timeout):
408408
break
409409
# This may happen in the `V1_0` protocol where we send two requests as
410410
# an optimization, then need to read each separately
411-
if request is not "":
411+
if request != "":
412412
self.sendall(request)
413413

414414
# The response from the server is a null-terminated string

0 commit comments

Comments
 (0)