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
92c0c673
Commit
92c0c673
authored
Jan 03, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use None to mean "not set".
parent
a811c865
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
neo/lib/util.py
neo/lib/util.py
+2
-2
No files found.
neo/lib/util.py
View file @
92c0c673
...
...
@@ -106,8 +106,8 @@ def parseNodeAddress(address, port_opt=None):
def
parseMasterList
(
masters
,
except_node
=
None
):
assert
masters
,
'At least one master must be defined'
socket_connector
=
''
# load master node list
socket_connector
=
None
master_node_list
=
[]
# XXX: support '/' and ' ' as separator
masters
=
masters
.
replace
(
'/'
,
' '
)
...
...
@@ -118,7 +118,7 @@ def parseMasterList(masters, except_node=None):
master_node_list
.
append
(
address
)
socket_connector_temp
=
getConnectorFromAddress
(
address
)
if
socket_connector
==
''
:
if
socket_connector
is
None
:
socket_connector
=
socket_connector_temp
elif
socket_connector
==
socket_connector_temp
:
pass
...
...
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