Commit cfbd9722 authored by Julien Muchembled's avatar Julien Muchembled

In PAddress, server=None already means 'no server'

parent e2eef562
...@@ -21,7 +21,6 @@ from .handler import EventHandler ...@@ -21,7 +21,6 @@ from .handler import EventHandler
from .protocol import uuid_str, Packets from .protocol import uuid_str, Packets
from .connection import ClientConnection from .connection import ClientConnection
NO_SERVER = ('0.0.0.0', 0)
class BootstrapManager(EventHandler): class BootstrapManager(EventHandler):
""" """
...@@ -29,7 +28,7 @@ class BootstrapManager(EventHandler): ...@@ -29,7 +28,7 @@ class BootstrapManager(EventHandler):
""" """
accepted = False accepted = False
def __init__(self, app, name, node_type, uuid=None, server=NO_SERVER): def __init__(self, app, name, node_type, uuid=None, server=None):
""" """
Manage the bootstrap stage of a non-master node, it lookup for the Manage the bootstrap stage of a non-master node, it lookup for the
primary master node, connect to it then returns when the master node primary master node, connect to it then returns when the master node
......
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