Commit 4971ebc8 authored by Vincent Pelletier's avatar Vincent Pelletier

On the contrary of what is advertised by python manual, acquire doesn't accept...

On the contrary of what is advertised by python manual, acquire doesn't accept any keyword argument...


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@272 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a2e22eb1
......@@ -84,7 +84,7 @@ class Dispatcher(Thread):
This can be called either at bootstrap or when
client got disconnected during process"""
# Indicate we are trying to connect to avoid multiple try a time
acquired = self.connecting_to_master_node.acquire(blocking=0)
acquired = self.connecting_to_master_node.acquire(0)
if acquired:
try:
from neo.client.handler import ClientEventHandler
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment