Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vincent Pelletier
neoppod
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):
...
@@ -51,7 +51,7 @@ class PrimaryHandler(MasterHandler):
# connection successfull, set it as running
# connection successfull, set it as running
node
.
setRunning
()
node
.
setRunning
()
conn
.
ask
(
Packets
.
AskPrimary
())
conn
.
ask
(
Packets
.
AskPrimary
())
MasterHandler
.
connectionCompleted
(
self
,
conn
)
super
(
PrimaryHandler
,
self
).
connectionCompleted
(
conn
)
def
reelectPrimary
(
self
,
conn
):
def
reelectPrimary
(
self
,
conn
):
raise
ElectionFailure
,
'reelection requested'
raise
ElectionFailure
,
'reelection requested'
...
...
neo/neoctl/handler.py
View file @
4aa72733
...
@@ -24,7 +24,7 @@ class CommandEventHandler(EventHandler):
...
@@ -24,7 +24,7 @@ class CommandEventHandler(EventHandler):
def
connectionCompleted
(
self
,
conn
):
def
connectionCompleted
(
self
,
conn
):
# connected to admin node
# connected to admin node
self
.
app
.
connected
=
True
self
.
app
.
connected
=
True
EventHandler
.
connectionCompleted
(
self
,
conn
)
super
(
CommandEventHandler
,
self
).
connectionCompleted
(
conn
)
def
__disconnected
(
self
):
def
__disconnected
(
self
):
app
=
self
.
app
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