Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
cfbd9722
Commit
cfbd9722
authored
Jul 16, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In PAddress, server=None already means 'no server'
parent
e2eef562
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
neo/lib/bootstrap.py
neo/lib/bootstrap.py
+1
-2
No files found.
neo/lib/bootstrap.py
View file @
cfbd9722
...
@@ -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
=
N
O_SERVER
):
def
__init__
(
self
,
app
,
name
,
node_type
,
uuid
=
None
,
server
=
N
one
):
"""
"""
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment