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
4aa72733
Commit
4aa72733
authored
Feb 28, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use super.
parent
56570945
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
neo/master/handlers/secondary.py
neo/master/handlers/secondary.py
+1
-1
neo/neoctl/handler.py
neo/neoctl/handler.py
+1
-1
No files found.
neo/master/handlers/secondary.py
View file @
4aa72733
...
...
@@ -51,7 +51,7 @@ class PrimaryHandler(MasterHandler):
# connection successfull, set it as running
node
.
setRunning
()
conn
.
ask
(
Packets
.
AskPrimary
())
MasterHandler
.
connectionCompleted
(
self
,
conn
)
super
(
PrimaryHandler
,
self
).
connectionCompleted
(
conn
)
def
reelectPrimary
(
self
,
conn
):
raise
ElectionFailure
,
'reelection requested'
...
...
neo/neoctl/handler.py
View file @
4aa72733
...
...
@@ -24,7 +24,7 @@ class CommandEventHandler(EventHandler):
def
connectionCompleted
(
self
,
conn
):
# connected to admin node
self
.
app
.
connected
=
True
EventHandler
.
connectionCompleted
(
self
,
conn
)
super
(
CommandEventHandler
,
self
).
connectionCompleted
(
conn
)
def
__disconnected
(
self
):
app
=
self
.
app
...
...
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