Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move read timeout inside lock

  • Loading branch information...
commit e173ec9c3400d6d920900761bae5762980d7f885 1 parent bbfc8a0
@gestiweb gestiweb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bjsonrpc/connection.py
View
2  bjsonrpc/connection.py
@@ -766,9 +766,9 @@ def read(self, timeout = None):
Standard function to read from the socket
which by default points to read_line
"""
- self.settimeout("read", timeout)
ret = None
self.scklock.acquire()
+ self.settimeout("read", timeout)
try:
ret = self.read_line()
finally:
Please sign in to comment.
Something went wrong with that request. Please try again.