Skip to content

Commit a835362

Browse files
committedNov 4, 2014
Fix locking of removeServer
1 parent 9df5013 commit a835362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def get(self, ip, port):
274274
return server
275275

276276
def removeServer(self, server):
277-
with lock:
277+
with self.lock:
278278
try:
279279
self.list.remove(server)
280280
except:

0 commit comments

Comments
 (0)
Please sign in to comment.